ArtistCollection Class

The collection of all artists in the media library.

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

Syntax

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

Remarks

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.

See Also

Reference

MediaLibrary.Artists Property
Artist Class
ArtistCollection Members
Microsoft.Xna.Framework.Media Namespace

Platforms

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