MusicProperties.Duration | duration property

Applies to Windows and Windows Phone

Gets the duration of the song in milliseconds.

Syntax


public:
property TimeSpan Duration { 
   TimeSpan get();
}

Property value

Type: Number [JavaScript] | System.TimeSpan [.NET] | Windows::Foundation::TimeSpan [C++]

The duration in milliseconds.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Storage.FileProperties
Windows::Storage::FileProperties [C++]

Metadata

Windows.winmd

See also

MusicProperties

 

 

Show:
© 2014 Microsoft