Windows Media Player 11 SDK IWMPPlaylistCollection Interface (VB and C#) 

Windows Media Player SDK banner art

Previous Next

IWMPPlaylistCollection Interface (VB and C#)

Provides methods for manipulating IWMPPlaylist and IWMPPlaylistArray interfaces in a collection.

The IWMPPlaylistCollection interface exposes the following methods.

Method Description
getAll Returns an IWMPPlaylistArray interface that provides access to all of the playlists in the library.
getByName Returns an IWMPPlaylistArray interface that provides access to playlists with the specified name, if any exist.
importPlaylist Adds a static playlist to the library.
isDeleted Returns a value indicating whether the specified playlist is in the deleted items folder.
newPlaylist Returns an IWMPPlaylist interface for a new, empty playlist in the library.
remove Removes a playlist from the library.
setDeleted No longer supported.

Get an IWMPPlaylistCollection interface by using the following property.

Object Property
AxWindowsMediaPlayer playlistCollection

See Also

Previous Next