Share via


Windows Media Player 11 SDK Playlist.removeItem 

Windows Media Player SDK banner art

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

Previous Next