ArtistCollection.Item Property
Gets the Artist at the specified index in the ArtistCollection.
Syntax
'Declaration
Public ReadOnly Property Item ( _
index As Integer _
) As Artist
public Artist this [
int index
] { get; }
public:
property Artist default [Int32] {
Artist get (int index);
}
Property Value
Type: Artist
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.
Requirements
Namespace: Microsoft.Xna.Framework.Media
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
Artist Class
ArtistCollection Class
ArtistCollection Members
Microsoft.Xna.Framework.Media Namespace
Platforms
Windows Phone