Duration (Windows Media Player) (Compact 7)
3/12/2014
This property contains the clip's playing time in seconds. This property is read-only.
Syntax
[ dblDuration = ] MediaPlayer.Duration
Parameters
- dblDuration
Double value indicating the clip's playing time in seconds. There is no default value.
Remarks
The IsDurationValid property specifies whether the Duration property returns a valid value.
If the FileName property is not set, the Duration property returns zero.