DocumentMetadataT Class
Represents a collection of document metadata key/value pairs.
Inheritance Hierarchy

Namespace: GroupDocs.Metadata
Assembly: GroupDocs.Metadata (in GroupDocs.Metadata.dll) Version: 19.5
Syntax
public abstract class DocumentMetadata<T> : Metadata, 
	IEnumerable<KeyValuePair<string, PropertyValue>>, IEnumerable
where T : new(), MetadataProperty

Type Parameters

T
Represents MetadataProperty.

The DocumentMetadataT type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of metadata properties.
Public propertyItem Obsolete.
Gets or sets the PropertyValue with the specified metadata key.
Public propertyKeys
Gets an array of the metadata keys.
(Inherited from Metadata.)
Public propertyMetadataType
Gets the metadata type.
(Inherited from Metadata.)
Methods
  NameDescription
Public methodClear
Resets all metadata properties.
Public methodClearBuiltInData
Resets all built-in metadata properties.
Public methodClearCustomData
Removes all custom metadata properties.
Public methodContainsKey
Determines whether the specified metadata key is presented in the collection.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodIsBuiltIn
Determines whether a metadata property is built-in.
Public methodIsReadOnly
Determines whether metadata is read-only.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReadPropertyValue
Reads the value of the property with the specified name.
Public methodCode exampleRemove
Removes metadata by the given key.
Public methodSetValueByKey
Sets the value of the property with the specified name.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also