Mono Class Library: System.IO.MemoryStream Overview | Members

System.IO.MemoryStream.Position Property

Gets or sets the current position within the stream. [Edit]

public override long Position { set; get; }

Value

A long containing the current position within the stream. [Edit]

Exceptions

TypeReason
ArgumentOutOfRangeExceptionThe value specified for a set operation is negative or greater than the maximum length of a System.IO.MemoryStream. [Edit]
ObjectDisposedExceptionThe current stream is closed. [Edit]

Remarks

Note: This property overrides Stream.Position.
[Edit]

Requirements

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0