PipeStream.CanRead Property

Definition

Gets a value indicating whether the current stream supports read operations.

public:
 virtual property bool CanRead { bool get(); };
public override bool CanRead { get; }
member this.CanRead : bool
Public Overrides ReadOnly Property CanRead As Boolean

Property Value

true if the stream supports read operations; otherwise, false.

Remarks

If the PipeStream object is closed, this property returns false.

Applies to