Share via


Album.GetAlbumArt Method

Gets the album art as a texture.

Dd254760.note(en-US,XNAGameStudio.30).gifWindows Specific Information

Album information is not supported. This property is always set to null.

Dd254760.note(en-US,XNAGameStudio.30).gifXbox 360 Specific Information

Album information is not supported. This property is always set to null.

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

Syntax

public Texture2D GetAlbumArt (
         IServiceProvider serviceProvider
)

Parameters

  • serviceProvider
    Content manager service provider, obtained through the Game.Services property.

Return Value

Texture with the album art, or null if the album has no associated art.

See Also

Reference

Album.HasArt Property
Album.GetThumbnail Method
Album Class
Album Members
Microsoft.Xna.Framework.Media Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista, Zune