다음을 통해 공유


IWMPPlaylistCollection interface (wmp.h)

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IWMPPlaylistCollection interface provides methods for manipulating the IWMPPlaylist and IWMPPlaylistArray interfaces.

Inheritance

The IWMPPlaylistCollection interface inherits from the IDispatch interface. IWMPPlaylistCollection also has these types of members:

Methods

The IWMPPlaylistCollection interface has these methods.

 
IWMPPlaylistCollection::getAll

The getAll method retrieves a pointer to an IWMPPlaylistArray interface representing all of the playlists in the library.
IWMPPlaylistCollection::getByName

The getByName method retrieves a pointer to an IWMPPlaylistArray interface on an object containing playlists with the specified name, if any exist.
IWMPPlaylistCollection::importPlaylist

The importPlaylist method adds a static playlist to the library.
IWMPPlaylistCollection::isDeleted

The isDeleted method retrieves a value indicating whether the specified playlist is in the deleted items folder.
IWMPPlaylistCollection::newPlaylist

The newPlaylist method creates a new, empty playlist in the library.
IWMPPlaylistCollection::remove

The remove method removes a playlist from the library.

Requirements

Requirement Value
Target Platform Windows
Header wmp.h

See also

IWMPPlaylist Interface

IWMPPlaylistArray Interface

Interfaces