Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
The PlaylistCollection class provides access to playlists in the device's media library.
Use the MediaLibrary.Playlists property to obtain a collection of all playlists in the media library.
The PlaylistCollection does not immediately instantiate instances of all playlists in the collection. Instead, individual Playlist objects are created each time a playlist is accessed through the collection's Item indexer.