Sets the position within the current stream.

Namespace: Alachisoft.NCache.Web.Caching
Assembly: Alachisoft.NCache.Web (in Alachisoft.NCache.Web.dll) Version: 4.3.0.0 (4.3.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.

Return Value

Type: Int64

Remarks

CacheStream does not support seeking.

Exceptions

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

See Also