Duration (Windows Media Player)
A version of this page is also available for
This property contains the clip's playing time in seconds. This property is read-only.
Compatibility: Windows Media Player, ActiveMovie
[ dblDuration = ] MediaPlayer.Duration
Double value indicating the clip's playing time in seconds. There is no default value.
The IsDurationValid property specifies whether the Duration property returns a valid value.
If the FileName property is not set, the Duration property returns zero.
ActiveMovie compatibility mode is only supported through Windows CE .NET 4.1.
|Windows Embedded CE||Windows CE 3.0 and later|