Audio.SeekStopPosition(Double,SeekPositionFlags) Method (Microsoft.DirectX.AudioVideoPlayback)

Sets a new stop position in playback.

Definition

Visual Basic Public Function SeekStopPosition( _
    ByVal time As Double, _
    ByVal flags As SeekPositionFlags _
) As Double
C# public double SeekStopPosition(
    double time,
    SeekPositionFlags flags
);
C++ public:
double SeekStopPosition(
    double time,
    SeekPositionFlags flags
);
JScript public function SeekStopPosition(
    time : double,
    flags : SeekPositionFlags
) : double;

Parameters

time System.Double
Position that is the new stop time for playback.
flags Microsoft.DirectX.AudioVideoPlayback.SeekPositionFlags
The position seek type to use to set the new stop position.

Return Value

System.Double
Returns the new stop position.

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.