Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PlaylistCollection Class

A collection of playlists in the media library.

public sealed class PlaylistCollection : IEnumerable<Playlist>, IEnumerable, IDisposable

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.

Namespace: Microsoft.Xna.Framework.Media
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Windows Phone

Community Additions

Show:
© 2015 Microsoft