IWMDMMetaData interface (mswmdm.h)

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.

Inheritance

The IWMDMMetaData interface inherits from the IUnknown interface. IWMDMMetaData also has these types of members:

Methods

The IWMDMMetaData interface has these methods.

 
IWMDMMetaData::AddItem

The AddItem method adds a metadata property to the interface.
IWMDMMetaData::GetItemCount

The GetItemCount method retrieves the total number of properties held by the interface.
IWMDMMetaData::QueryByIndex

The QueryByIndex method retrieves the value of a property specified by index.
IWMDMMetaData::QueryByName

The QueryByName method retrieves the value of a property specified by name.

Requirements

Requirement Value
Target Platform Windows
Header mswmdm.h

See also

Interfaces for Applications

Metadata Constants

Setting Metadata on a File