Share via


Album.Duration Property

Gets the duration of the Album.

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

Syntax

public TimeSpan Duration { get; }

Property Value

Duration of the album, as a TimeSpan structure.

Remarks

The duration is the total duration of all of the album's songs that are present on the device. This may be less than the duration attributed to the entire album.

See Also

Reference

Album Class
Album Members
Microsoft.Xna.Framework.Media Namespace

Platforms

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