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

System.IO.Stream.CanSeek Property

Gets a bool value indicating whether the current stream supports seeking. [Edit]

public abstract bool CanSeek { get; }

Value

true if the stream supports seeking; otherwise, false. [Edit]

Remarks

If a class derived from System.IO.Stream does not support seeking, the following methods throw a NotSupportedException: Stream.Length, Stream.SetLength(long), Stream.Position, or Stream.Seek(long, SeekOrigin).

Operation
As described above.

[Edit]

Requirements

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