Share via


MusicProperties.Duration Property

Definition

Gets the duration of the song in milliseconds.

public:
 property TimeSpan Duration { TimeSpan get(); };
TimeSpan Duration();
public System.TimeSpan Duration { get; }
var timeSpan = musicProperties.duration;
Public ReadOnly Property Duration As TimeSpan

Property Value

The duration in milliseconds.

Applies to