Gets a value indicating whether the current Stream supports writing.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Overrides ReadOnly Property CanWrite As Boolean |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As CodingStream
Dim value As Boolean
value = instance.CanWrite |
| C# | |
|---|
public override bool CanWrite {get;} |
| Managed Extensions for C++ | |
|---|
public: __property bool get_CanWrite() override; |
| C++/CLI | |
|---|
public:
property bool CanWrite {
bool get() override;
} |
Property Value
true if the Stream supports writing; false otherwise.
Requirements
Target Platforms: Microsoft .NET Framework 2.0
See Also