Windows Media Player 11 SDK Playlist.removeItem
Previous | Next |
Playlist.removeItem
The removeItem method removes the specified item from the playlist.
Syntax
Parameters
item
Media object to be removed.
Return Values
This method does not return a value.
Remarks
If the item removed is the currently playing track (Player**.currentMedia**), playback stops and the next item in the playlist becomes the current one. If there is no next item, the previous item is used, or if there are no other items, then Player**.currentMedia** is set to NULL.
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
- Player.currentMedia
- Playlist Object
- Playlist.insertItem
- Playlist.item
- Settings.mediaAccessRights
- Settings.requestMediaAccessRights
Previous | Next |