IWMDMMetaData Interface

banner art

The IWMDMMetaData interface sets and retrieves metadata properties (such as artist, album, genre, and so on) of a storage. Metadata properties are stored as name-value pairs.

To create a new, empty instance of this interface, call IWMDMStorage3::CreateEmptyMetadataObject. To retrieve this interface (with values), call IWMDMStorage3::GetMetadata or IWMDMStorage4::GetSpecifiedMetadata.

In addition to the methods inherited from IUnknown, the IWMDMMetaData interface exposes the following methods.

Method Description
AddItem Adds a metadata property to the interface.
GetItemCount Retrieves the total number of properties held by the interface.
QueryByIndex Retrieves the value of a property specified by index.
QueryByName Retrieves the value of a property specified by name.

See Also