Mono Class Library: System.IO.FileStream Overview | MembersSystem.IO.FileStream.CanRead Property |
Gets a bool value indicating whether the current stream supports reading. [Edit]
|
true if the stream supports reading; false if the stream is closed or was opened with write-only access. [Edit]
This property is read-only.
Note:[Edit]This property overrides Stream.CanRead.
If a class derived from System.IO.Stream does not support reading, the Read method throws a NotSupportedException .
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0