Share via


Windows Media Player 11 SDK PLAYLIST.getNextSelectedItem2 

Windows Media Player SDK banner art

Previous Next

PLAYLIST.getNextSelectedItem2

The getNextSelectedItem2 method retrieves the index of the next selected item in the playlist following the specified index.

Syntax

  

Parameters

item

Number (long) indicating the index of the item to search after.

Return Values

This method returns a Number (long).

Remarks

This method replaces the getNextSelectedItem method in order to work with nested playlists. Use –1 to find the first selected item. When there are no further selected items, -1 is returned.

Requirements

Windows Media Player 9 Series or later.

See Also

Previous Next