GemBox.Document
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    CustomDocumentPropertiesDictionary Class

    Namespace:
    GemBox.Document
    Assembly:
    GemBox.Document.dll

    Represents a dictionary that contains System.String key and System.Object value pairs.

    • C#
    • VB.NET
    public sealed class CustomDocumentPropertiesDictionary : DictionaryBase<String, Object>, IDictionary<String, Object>, ICollection<KeyValuePair<String, Object>>, IEnumerable<KeyValuePair<String, Object>>, IEnumerable
    Public NotInheritable Class CustomDocumentPropertiesDictionary
        Inherits DictionaryBase(Of String, Object)
        Implements IDictionary(Of String, Object), ICollection(Of KeyValuePair(Of String, Object)), IEnumerable(Of KeyValuePair(Of String, Object)), IEnumerable
    Inheritance:
    System.Object
    DictionaryBase<System.String, System.Object>
    CustomDocumentPropertiesDictionary
    Implements
    System.Collections.Generic.IDictionary<System.String, System.Object>
    System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, System.Object>>
    System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.Object>>
    System.Collections.IEnumerable
    Remarks

    System.String keys cannot be null or System.String.Empty.

    System.Object values cannot be null and can be only one of the following types:

    • System.Boolean
    • System.DateTime
    • System.String
    • System.Double
    • System.Int32

    Built-in and custom document properties are contained in DocumentProperties class which is used in DocumentProperties property.

    For more information, see document properties example.

    Properties

    LinkedSources

    Gets a dictionary of linked targets from which the value of the custom document property should be extracted.

    The key is the name of the property, the value is the target name (e.g. bookmark name).

    • C#
    • VB.NET
    public IDictionary<string, string> LinkedSources { get; }
    Public ReadOnly Property LinkedSources As IDictionary(Of String, String)
    Property Value
    System.Collections.Generic.IDictionary<System.String, System.String>

    Implements

    System.Collections.Generic.IDictionary<TKey, TValue>
    System.Collections.Generic.ICollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable

    See Also

    DocumentProperties
    DocumentProperties
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.