IWMEncAttributes Object

Windows Media Encoder SDK banner art

The IWMEncAttributes object manages a collection of user-defined attributes. These are combinations of name-value pairs that provide extra, author-defined information about an encoding session. For example, you can indicate the creation date for a stream by assigning the string "Date" to the attribute name and a string containing the formatted date to the attribute value. You can also use this interface to categorize content.

The IWMEncAttributes object exposes the following properties and methods.

Property Description
Count Retrieves the number of name-value pairs in the collection of user-defined attributes.
Method Description
Add Adds a new name-value pair to the collection of user-defined attributes.
Item Retrieves a specific name-value pair from the collection of user-defined attributes.
Remove Removes a specific name-value pair from the collection of user-defined attributes.
RemoveAll Removes all attributes from the collection.

See Also