Sets the position within the current file.
Namespace: Crestron.SimplSharp.CrestronIOAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic virtual long Seek(
int offset,
SeekOrigin origin
)
Parameters
- offset Int32
- A byte offset relative to origin.
- origin SeekOrigin
- A field of SeekOrigin indicating the reference point from which
the new position is to be obtained.
Return Value
Int64The position with the current file.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also