When overridden in a derived class, sets the position within the current stream.
Namespace: Crestron.SimplSharp.CrestronIOAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic abstract long Seek(
long offset,
SeekOrigin origin
)
Parameters
- offset Int64
- A byte offset relative to the origin parameter.
- origin SeekOrigin
- A value of type CrestronIO.SeekOrigin indicating the reference point used
to obtain the new position.
Return Value
Int64The new position within the current stream.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also