AlbumCollection.Item Property
Gets the Album at the specified index in the AlbumCollection.
Syntax
'Declaration
Public ReadOnly Property Item ( _
index As Integer _
) As Album
public Album this [
int index
] { get; }
public:
property Album default [Int32] {
Album get (int index);
}
Property Value
Type: Album
A new Album representing the album at the specified index in this AlbumCollection.
Remarks
Each call returns a new Album instance.
Album resources such as art and thumbnails are cached in each Album instance. Retrieving and maintaining references to multiple instances of the same album, and accessing art or thumbnails on each of those instances, creates multiple copies of the art or thumbnails.
Requirements
Namespace: Microsoft.Xna.Framework.Media
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
AlbumCollection Class
AlbumCollection Members
Microsoft.Xna.Framework.Media Namespace
Platforms
Windows Phone