MusicProperties.Duration Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.