Windows Media Player SDK banner art
PreviousNext

Media.getItemInfoByAtom

The getItemInfoByAtom method retrieves the value of the attribute with the specified index number.

Syntax

player.currentMedia.getItemInfoByAtom(atom)

Parameters

  atom

Number (long) specifying the index.

Return Values

This method returns a String.

Remarks

This method can be used to retrieve metadata information about a specific piece of media using an index number. The attributeCount property can be used to determine the number of attributes available for the media item. The getMediaAtom method of the MediaCollection object can also be used to retrieve the index of a particular media library attribute. This technique is generally more efficient than the getItemInfo method when working with large playlists.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.