Sets the position within the current stream.

Namespace: Alachisoft.NCache.Web.Caching
Assembly: Alachisoft.NCache.Web (in Alachisoft.NCache.Web.dll) Version: 4.1.0.0 (4.1.0.0)

Syntax

C#
public override long Seek(
	long offset,
	SeekOrigin origin
)
Visual Basic
Public Overrides Function Seek ( _
	offset As Long, _
	origin As SeekOrigin _
) As Long
Visual C++
public:
virtual long long Seek(
	long long offset, 
	SeekOrigin origin
) override

Parameters

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

Remarks

CacheStream does not support seeking.

Exceptions

ExceptionCondition
System..::..NotSupportedExceptionStream does not support seeking.

See Also