Gets a value indicating whether the current Stream supports reading.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Overrides ReadOnly Property CanRead As Boolean |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As PipeStream
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 reading is currently allowed, and false if not.
Requirements
Target Platforms: Microsoft .NET Framework 2.0
See Also