Indicates that data can be read from the stream.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Overrides ReadOnly Property CanRead As Boolean |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As TcpStream
Dim value As Boolean
value = instance.CanRead |
| C# | |
|---|
public override bool CanRead {get;} |
| Managed Extensions for C++ | |
|---|
public: __property bool get_CanRead() override; |
| C++/CLI | |
|---|
public:
property bool CanRead {
bool get() override;
} |
Property Value
true if the stream can be read; otherwise,
false.
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 2.0
See Also