Share via


Windows Media Player 11 SDK PlaylistCollection Object 

Windows Media Player SDK banner art

Previous Next

PlaylistCollection Object

The PlaylistCollection object provides a way to organize your playlists.

The PlaylistCollection object supports the following methods.

Method Description
getAll Retrieves a PlaylistArray object containing all the playlists in the library.
getByName Retrieves a PlaylistArray object containing playlists with the specified name, if any exist.
importPlaylist Adds a static playlist to the library.
isDeleted Retrieves a value indicating whether the specified playlist is in the deleted items folder.
newPlaylist Creates a new playlist in the library.
remove Removes a playlist from the library.
setDeleted Moves a playlist to the deleted items folder.

The PlaylistCollection object is accessed through the following property.

Object Property
Player playlistCollection

See Also

Previous Next