Share via


Stream.CanRead Property

When overridden in a derived class, this property gets a value that indicates whether the current Stream object supports reading.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)

Syntax

public virtual abstract bool CanRead { get; }

Property Value

true if the current stream supports reading; otherwise, false.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

Stream Class
Stream Members
System.IO Namespace