System.IO.BufferedStream.Position Property

Gets the position within the current stream.

Syntax

public override long Position { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

The get accessor invokes BufferedStream.Seek(long, SeekOrigin) to obtain the current position within the underlying stream and then adjusts this value according to the current position within the buffer.

The set accessor copies any data previously written to the buffer to the underlying stream, and then invokes BufferedStream.Seek(long, SeekOrigin).

Seeking to any location beyond the length of the stream is supported.

Requirements

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