Song.Duration Property

Gets the duration of the Song.

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

Syntax

public TimeSpan Duration { get; }

Property Value

Duration of the song, as a TimeSpan structure.

See Also

Reference

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

Platforms

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