Windows Media Player SDK banner art
PreviousNext

Media.getAttributeName

The getAttributeName method retrieves the name of the attribute corresponding to the specified index.

Syntax

player.currentMedia.getAttributeName(index)

Parameters

  index

Number (long) containing the index of the attribute.

Return Values

This method returns a String specifying the name of the attribute.

Remarks

The attribute name returned can be used in conjunction with getItemInfo to retrieve the value for a specific named attribute.

Example

Please see the Playlist.attributeCount property for a sample illustrating the use of this property.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.