Compartilhar via


Managing Playlists

[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.]

A Playlist object represents a set of media items. You use properties and methods of the object to manipulate the media items it contains and to retrieve metadata about the playlist. To manage playlists themselves, you use the PlaylistCollection object and the MediaCollection object.

The following topics describe how to manage playlists using the Windows Media Player control object model:

Managing Media Items

Playlist Object

Working with the Library