Share via


Video.Duration Property

Gets the duration of the Video.

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

Syntax

public TimeSpan Duration { get; }

Property Value

Duration of the video, as a TimeSpan structure.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP