Windows Media Player SDK banner art
PreviousNext

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 media library.
getByName Retrieves a PlaylistArray object containing the specified playlist, if it exists.
importPlaylist Adds a playlist to the PlaylistCollection.
isDeleted Retrieves a value indicating whether the specified playlist is in the deleted items folder.
newPlaylist Creates a new playlist.
remove Removes a playlist from the PlaylistCollection.
setDeleted Moves a playlist to the deleted items folder.

The PlaylistCollection object is accessed through the following property.

Object Property
Player playlistCollection

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.