Sets the position within the current stream to the specified value.
Namespace: Crestron.SimplSharp.CrestronIOAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic override long Seek(
long offset,
SeekOrigin loc
)
Parameters
- offset Int64
-
The new position within the stream. This is relative to the loc parameter,
and can be positive or negative.
- loc SeekOrigin
-
A value of type CrestronIO.SeekOrigin, which acts as the seek reference point.
Return Value
Int64
The new position within the stream, calculated by combining the initial reference
point and the offset.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also