Windows Media Player 11 SDK Playlist.attributeNameĀ
Previous | Next |
Playlist.attributeName
The attributeName property retrieves the name of an attribute at a specified index.
Syntax
Parameters
index
Number (long) containing the index.
Possible Values
This property is a read-only String.
Remarks
The number of attributes is retrieved by the attributeCount property. Given an index, attributeName returns a String that can be used in conjunction with setItemInfo or getItemInfo to specify or retrieve a value for the attribute.
To retrieve the value of this property, read access to the library is required. For more information, see Library Access.
For information about the attributes supported by Windows Media Player, see the Windows Media Player Attribute Reference.
Example
See the attributeCount property for example code that uses this property.
Requirements
Version: Windows Media Player version 7.0 or later.
Library: Use wmp.dll.
See Also
- Playlist Object
- Playlist.attributeCount
- Playlist.getItemInfo
- Playlist.setItemInfo
- Settings.mediaAccessRights
- Settings.requestMediaAccessRights
Previous | Next |