Click or drag to resize
CustomDocumentPropertiesDictionary Class
Represents a dictionary that contains String key and Object value pairs.
Inheritance Hierarchy
SystemObject
  GemBox.DocumentDictionaryBaseString, Object
    GemBox.DocumentCustomDocumentPropertiesDictionary

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1243
Syntax
public sealed class CustomDocumentPropertiesDictionary : DictionaryBase<string, Object>

The CustomDocumentPropertiesDictionary type exposes the following members.

Properties
  NameDescription
Public propertyCount (Inherited from DictionaryBaseTKey, TValue.)
Public propertyItem
Gets or sets the value associated with the specified key.
(Inherited from DictionaryBaseTKey, TValue.)
Public propertyKeys (Inherited from DictionaryBaseTKey, TValue.)
Public propertyValues (Inherited from DictionaryBaseTKey, TValue.)
Top
Methods
  NameDescription
Public methodAdd(KeyValuePairTKey, TValue) (Inherited from DictionaryBaseTKey, TValue.)
Public methodAdd(TKey, TValue) (Inherited from DictionaryBaseTKey, TValue.)
Public methodClear (Inherited from DictionaryBaseTKey, TValue.)
Public methodContains (Inherited from DictionaryBaseTKey, TValue.)
Public methodContainsKey (Inherited from DictionaryBaseTKey, TValue.)
Public methodCopyTo (Inherited from DictionaryBaseTKey, TValue.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from DictionaryBaseTKey, TValue.)
Public methodRemove(KeyValuePairTKey, TValue) (Inherited from DictionaryBaseTKey, TValue.)
Public methodRemove(TKey) (Inherited from DictionaryBaseTKey, TValue.)
Public methodTryGetValue
Gets the value associated with the specified key.
(Inherited from DictionaryBaseTKey, TValue.)
Top
Explicit Interface Implementations
Remarks

String keys cannot be or Empty.

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

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

For more information, see document properties sample.

See Also