SpeechRecognitionStream.Seek Method
Sets the position within the current stream. Not supported.
Namespace: Microsoft.Rtc.Collaboration.AudioVideo
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Overrides Function Seek ( _
offset As Long, _
origin As SeekOrigin _
) As Long
'Usage
Dim instance As SpeechRecognitionStream
Dim offset As Long
Dim origin As SeekOrigin
Dim returnValue As Long
returnValue = instance.Seek(offset, origin)
public override long Seek(
long offset,
SeekOrigin origin
)
Parameters
- offset
Type: System.Int64
offset from origin.
- origin
Type: System.IO.SeekOrigin
seek origin.
Return Value
Type: System.Int64
returns current position.
Exceptions
Exception | Condition |
---|---|
NotSupportedException | Thrown when the offset is different than 0 or the origin is different than SeekOrigin.Current. |
ObjectDisposedException | Thrown when the object is disposed. |