Mono Class Library: System.IO.FileStream Overview | MembersSystem.IO.FileStream.CanWrite Property |
Gets a bool value indicating whether the current stream supports writing. [Edit]
|
true if the stream supports writing; false if the stream is closed or was opened with read-only access. [Edit]
If a class derived from System.IO.Stream does not support writing, a call to FileStream.Write(Byte[], int, int) or FileStream.BeginWrite(Byte[], int, int, AsyncCallback, object) will throw a NotSupportedException .
Note: This property overrides Stream.CanWrite.[Edit]
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0