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

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

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

Property Value

Type: bool

true if the stream supports reading; 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