Click or drag to resize
IMetaDataContainer Interface
Common interface implemented by objects that have the capability to hold metadata in the form of string key/value pairs.

Namespace: Sdl.FileTypeSupport.Framework.NativeApi
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
public interface IMetaDataContainer

The IMetaDataContainer type exposes the following members.

Properties
  NameDescription
Public propertyHasMetaData
True if there is any metadata in the container
Public propertyMetaData
Enumerator for the metadata key/value pairs.
Public propertyMetaDataCount
The number of meta data key/value pairs in the container
Top
Methods
  NameDescription
Public methodClearMetaData
Removes all key/value pairs from the meta data collection.
Public methodGetMetaData
Returns the metadata value associated with the specified key, or null if no such key exists in the collection.
Public methodMetaDataContainsKey
True if a metadata value with the specified key exists
Public methodRemoveMetaData
Removes the metadata key/value pair with the specified key from the collection. No changes are made if the collection does not contain such a key.
Public methodSetMetaData

Sets the value of the specified metadata key.

If the key already exists in the collection, its value gets overwritten.

Top
Remarks

Similar to a dictionary<String, String>.

Enumerate existing values through the MetaData property. Add new values, or overwrite existing ones by calling SetMetaData(String, String). Removes values by calling RemoveMetaData(String) or ClearMetaData.

See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments