When overridden in a derived class, gets a value indicating whether the current stream supports writing.

Namespace: Contracts
Assembly: Contracts (in Contracts.dll)

Public ReadOnly Overrides Property CanWrite() As Boolean
This language is not supported or no code example is available.
public override bool CanWrite {get;}
This language is not supported or no code example is available.
public:  
property bool CanWrite { 
bool get( ); 
}
This language is not supported or no code example is available.
public function get CanWrite() : boolean;
This language is not supported or no code example is available.

Property Value

Type: bool

true if the stream supports writing; otherwise, false.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1