This property retrieves the duration of the video in seconds.
[Visual
Basic] playcontrolname.Duration[
= Double ]
[Visual C++] [
double = ]playcontrolname.GetDuration()
[VB.NET] playcontrolname.Duration[
= Double ]
[C#.NET] playcontrolname.Duration[
= double ]
Property Value
The duration of the video in seconds.
Explanation
The Duration property retrieves the duration of the video in seconds. This property is reset after the Open method executes.
Setting this value
This value cannot be set.
Retrieving this value
This value can be retrieved at run-time.