Edit

Share via


SpeechRecognitionStream.Seek(Int64, SeekOrigin) Method

Definition

Sets the position within the current stream. Not supported.

public:
 override long Seek(long offset, System::IO::SeekOrigin origin);
public override long Seek (long offset, System.IO.SeekOrigin origin);
override this.Seek : int64 * System.IO.SeekOrigin -> int64
Public Overrides Function Seek (offset As Long, origin As SeekOrigin) As Long

Parameters

offset
Int64

offset from origin.

origin
SeekOrigin

seek origin.

Returns

returns current position.

Exceptions

Thrown when the offset is different than 0 or the origin is different than SeekOrigin.Current.

Thrown when the object is disposed.

Applies to