Share via


AudioContent.Duration Property

Note

This property is available only when developing for Windows.

Gets the duration (in milliseconds) of the audio data.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Audio
Assembly: (in )

Syntax

public TimeSpan Duration { get; }

Property Value

Duration of the audio data.

See Also

Reference

AudioContent Class
AudioContent Members
Microsoft.Xna.Framework.Content.Pipeline.Audio Namespace

Platforms

Windows XP SP2, Windows Vista