Sets the position within the current stream.
Not supported.
Namespace:
Microsoft.Rtc.Collaboration.AudioVideo
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Public
Overrides
Function
Seek ( _
offset
As
Long, _
origin
As
SeekOrigin _
)
As
Long
|
C# |
public
override
long
Seek(
long
offset,
SeekOrigin
origin
)
|
Visual C++ |
public:
virtual
long long
Seek(
long long
offset,
SeekOrigin
origin
)
override
|
JavaScript |
function
seek(
offset,
origin);
|
Parameters
-
offset
- Type:
Int64
offset from origin.
-
origin
- Type:
SeekOrigin
seek origin.
Return Value
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. |
See Also