Windows Media Player 11 SDK PLAYLIST.setSelectedState2
Previous | Next |
PLAYLIST.setSelectedState2
The setSelectedState2 method sets the selected state of the item with the specified index in the PLAYLIST element.
Syntax
Parameters
item
Number (long) indicating the index of an item in the playlist.
selected
Boolean indicating whether the specified item is to be selected (true) or unselected (false).
Return Values
This method does not return a value.
Remarks
This method replaces the setSelectedState method in order to work with nested playlists. You can set all items to the given state by specifying –1 in the item parameter.
Requirements
Windows Media Player 9 Series or later.
See Also
Previous | Next |