Windows Media Player SDK banner art
PreviousNext

Playlist.attributeName

The attributeName property retrieves the name of an attribute specified by an index.

Syntax

player.currentPlaylist.attributeName(index)

Parameters

  index

Number (long) containing the index.

Possible Values

This property is a read-only String.

Remarks

The number of attributes is retrieved with the attributeCount property. Given an index, attributeName returns a String that can be used in conjunction with setItemInfo and getItemInfo to specify and retrieve the value for an attribute.

Example

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

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.