Share via


Windows Media Player 11 SDK PLAYLIST.itemPlaylist 

Windows Media Player SDK banner art

Previous Next

PLAYLIST.itemPlaylist

The itemPlaylist attribute retrieves the playlist for the media item that is displayed at the given index in the PLAYLIST element.

Syntax

  

Parameters

index

Number (long) containing the index of a playlist item.

Possible Values

This attribute is a read-only Playlist object.

Remarks

The itemPlaylist property will return the playlist object that is expanded in the PLAYLIST element. For example, if there are two nested playlists that are not expanded in the PLAYLIST element, and that contain three media clips each, itemPlaylist(1) will return the parent playlist that contains the two nested playlists. If the second playlist is expanded, itemPlaylist(1) will return the second playlist. If both playlists are expanded, itemPlaylist(1) will return the first playlist.

Requirements

Windows Media Player 9 Series or later.

See Also

Previous Next