![]() |
![]() |
![]() |
Audio.SeekCurrentPosition Method |
Language: |
Seeks to a specific playback position.
Visual Basic .NET Public Function SeekCurrentPosition( _
ByVal time As Double, _
ByVal flags As SeekPositionFlags _
) As DoubleC# public double SeekCurrentPosition(
double time,
SeekPositionFlags flags
);Managed C++ public: double SeekCurrentPosition(
double time,
SeekPositionFlags flags
);JScript .NET public function SeekCurrentPosition(
time : double,
flags : SeekPositionFlags
) : double;
time System.Double. Position to seek. flags Microsoft.DirectX.AudioVideoPlayback.SeekPositionFlags. The position seek type to use.
System.Double . Returns the position after the seek.
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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center