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

Namespace: FirstFloor.Documents.IO
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.1.0)

Syntax

C#
public override long Position { get; set; }
Visual Basic
Public Overrides Property Position As Long
	Get
	Set
Visual C++
public:
virtual property long long Position {
	long long get () override;
	void set (long long value) override;
}

Field Value

Return Value

The current position within the stream.

Exceptions

ExceptionCondition
System.IO..::..IOExceptionAn I/O error occurs.
System..::..NotSupportedExceptionThe stream does not support seeking.
System..::..ObjectDisposedExceptionMethods were called after the stream was closed.

See Also