Click or drag to resize

FileStreamSeek Method

Sets the current position of the stream.

Namespace: Crestron.SimplSharp.CrestronIO
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public override long Seek(
	long offset,
	SeekOrigin origin
)

Parameters

offset  Int64
The point relative to origin from which to begin seeking.
origin  SeekOrigin
Specifies a point of origin in the file.

Return Value

Int64
The new position in the stream.
Exceptions

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also