Mono Class Library: System.IO.Stream Overview | MembersSystem.IO.Stream.CanWrite Property |
Gets a bool value indicating whether the current stream supports writing. [Edit]
|
true if the stream supports writing; otherwise, false. [Edit]
If a class derived from System.IO.Stream does not support writing, the following methods throw a NotSupportedException: Stream.Write(Byte[], int, int), Stream.WriteByte(byte), and Stream.BeginWrite(Byte[], int, int, AsyncCallback, object).
Operation
As described above. [Edit]
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0