Edit

Share via


DeflateStream.CanWrite Property

Definition

Gets a value indicating whether the stream supports writing.

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

Property Value

true if the CompressionMode value is Compress, and the underlying stream supports writing and is not closed; otherwise, false.

Applies to