NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Stream.CanWrite

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;

Property Value

true if the stream supports writing; otherwise, false.

Remarks

If a Stream subclass does not support writing, calls to the write methods will throw a NotSupportedException.

See Also

Stream Class | Stream Members | System.IO Namespace