Audio.CurrentPosition Property (Microsoft.DirectX.AudioVideoPlayback)

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.