[This is preliminary documentation and is subject to change.]

Gets or sets the position within the current stream.

Namespace: Tools.IOt
Assembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)

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;
}
F#
abstract Position : int64 with get, set
override Position : int64 with get, set
JScript
override function get Position () : long
override function set Position (value : long)

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