Share via


Windows Media Player 11 SDK PLAYLIST.setCheckedState2 

Windows Media Player SDK banner art

Previous Next

PLAYLIST.setCheckedState2

The setCheckedState2 method sets the checked state of the item with the specified index in the PLAYLIST element.

Syntax

  

Parameters

item

Number (long) indicating the index of the playlist item to be checked or unchecked.

checked

Boolean indicating whether the specified item is to be checked (true) or unchecked (false).

Return Values

This method returns a Boolean.

Remarks

This method replaces the setCheckedState 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