IMediaPosition.Duration
Note This topic is deprecated. It applies to Visual Basic 6.0. DirectShow is not supported for Visual Basic .NET or C#.
The Duration property retrieves the duration of the stream.
objMediaPosition.Duration As Double
Parameters
This property takes no parameters.
Return Value
Returns the duration, in seconds.
Remarks
The duration is relative to the normal playback rate. Therefore, setting the IMediaPosition.Rate property does not affect the value of the Duration property.
This property is read-only.
Requirements
Type Library |
ActiveMovie control type library |
DLL |
Quartz.dll |
See Also
Send comments about this topic to Microsoft
Build date: 8/31/2010