Click or drag to resize

CachedFileStreamSeek Method

When overridden in a derived class, sets the position within the current stream.

Namespace: GSF.IO
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.250-beta+e1aac152bf9c38c67035c6d283461f222e39e02a
Syntax
public override long Seek(
	long offset,
	SeekOrigin origin
)
View Source

Parameters

offset  Int64
A byte offset relative to the origin parameter.
origin  SeekOrigin
A value of type SeekOrigin indicating the reference point used to obtain the new position.

Return Value

Int64
The new position within the current stream.
Exceptions
ExceptionCondition
ObjectDisposedExceptionMethods were called after the stream was closed.
See Also