Windows Media Player 11 SDK Playlist.moveItem 

Windows Media Player SDK banner art

Previous Next

Playlist.moveItem

The moveItem method changes the location of an item in the playlist.

Syntax

  

Parameters

oldIndex

Number (long) containing the old index.

newIndex

Number (long) containing the new index.

Return Values

This method does not return a value.

Remarks

Playlists stored in the library can change outside your control. Be sure to monitor and handle all appropriate playlist-related events so that the order of items in the playlist does not change unexpectedly.

To use this method, full access to the library is required. For more information, see Library Access.

Requirements

Version: Windows Media Player version 7.0 or later.

Library: Use wmp.dll.

See Also

Previous Next