Video.CurrentPosition Property

Language:

Retrieves and sets the current position of playback.

Definition

Visual Basic Public Property CurrentPosition As Double
C# public double CurrentPosition { get; set; }
C++ public:
property double CurrentPosition {
        double get();
        void set(double value);
}
JScript public function get CurrentPosition() : double
public function set CurrentPosition(double);

Property Value

System.Double
The current position of playback.

This property is read/write. 

Remarks

Exceptions
DirectXException For more information on the cause of this exception, reference the DirectXException.ErrorCode and DirectXException.ErrorString properties to the AudioVideoPlayback error code table.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center