PlaylistCollection Class

PlaylistCollection Class

A collection of playlists in the media library.

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

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.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone

Community Additions

ADD
Show:
© 2016 Microsoft