Share via


Windows Media Player 11 SDK PLAYLIST.setSelectedState 

Windows Media Player SDK banner art

Previous Next

PLAYLIST.setSelectedState

The setSelectedState method specifies that the indexed item in the playlist is selected.

Syntax

  

Parameters

item

Number (long) indicating the index of an item in the playlist.

Return Values

This method does not return a value.

Remarks

You can set all items to the selected state by specifying –1 in the item parameter.

This method has been replaced by setSelectedState2, which supports nested playlists.

Requirements

Windows Media Player version 7.0 or later.

See Also

Previous Next