Determines whether the current stream supports writing.
[Visual Basic] MustOverride Public ReadOnly Property CanWrite As Boolean [C#] public bool CanWrite {abstract get;} [C++] public: __property virtual bool get_CanWrite() = 0; [JScript] public abstract function get CanWrite() : Boolean;
true if the stream supports writing; otherwise, false.
If a Stream subclass does not support writing, calls to the write methods will throw a NotSupportedException.