CachedFileStreamSeek Method

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

Definition

Namespace: IO
Assembly: Gemstone.IO (in Gemstone.IO.dll) Version: 1.0.169 -- Release Build+9539f17c709220b9bccf5fcf2a5ec2d79c38125a
public override long Seek(
	long offset,
	SeekOrigin origin
)

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

ObjectDisposedExceptionMethods were called after the stream was closed.

See Also