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!

BufferedStream.CanRead

Determines whether the current stream supports reading.

[Visual Basic]
Overridable Public ReadOnly Property CanRead As Boolean
[C#]
public bool CanRead {override get;}
[C++]
public: __property virtual bool get_CanRead();
[JScript]
public function get CanRead() : Boolean;

Property Value

true if the stream supports reading, otherwise, false. Also returns false if the stream is closed.

Remarks

If a BufferedStream subclass does not support reading, calls to the Read method throw a NotSupportedException.

See Also

BufferedStream Class | BufferedStream Members | System.IO Namespace | Read