Windows apps
Collapse the table of content
Expand the table of content
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.

ArtistCollection Class

The collection of all artists in the media library.

public sealed class ArtistCollection : IEnumerable<Artist>, IEnumerable, IDisposable

The ArtistCollection class provides access to all artists in the device's media library.

Use the MediaLibrary.Artists property to obtain the artist collection.

The ArtistCollection does not immediately instantiate instances of all artists in the collection. Instead, individual Artist objects are created each time an artist 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

© 2017 Microsoft