ArtistCollection.Item Property
Gets the Artist at the specified index in the ArtistCollection.
Namespace: Microsoft.Xna.Framework.Media
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public Artist this [
int index
] { get; }
Property Value
A new Artist representing the artist at the specified index in this ArtistCollection.
Remarks
Each call returns a new Artist instance.
Artist resources such as the song and album collections for that artist are cached in each Artist instance. Retrieving and maintaining references to multiple instances of the same artist, and accessing the Songs or Albums collections on each of those instances, creates multiple copies of the song or album collections.
See Also
Reference
Artist Class
ArtistCollection Class
ArtistCollection Members
Microsoft.Xna.Framework.Media Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista, Zune