DeflateStream.CanWrite 属性

定义

获取一个值,该值指示流是否支持写入。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

属性值

如果 true 值为 CompressionMode 而且基础流未关闭并支持写入,则为 Compress;否则为 falsetrue if the CompressionMode value is Compress, and the underlying stream supports writing and is not closed; otherwise, false.

适用于