Edit

Share via


DeflateStream.CanRead Property

Definition

Gets a value indicating whether the stream supports reading while decompressing a file.

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 CompressionMode value is Decompress, and the underlying stream is opened and supports reading; otherwise, false.

Applies to