Compartilhar via


EncoderStream.CanWrite property

The CanWrite property gets a Boolean value indicating whether the Stream object that this EncoderStream object owns can be written to.

Namespace:  Microsoft.Exchange.Data.Mime.Encoders
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Overrides NotOverridable ReadOnly Property CanWrite As Boolean
    Get
'Usage
Dim instance As EncoderStream
Dim value As Boolean

value = instance.CanWrite
public override sealed bool CanWrite { get; }

Property value

Type: System.Boolean
The CanWrite property returns true if writing is supported. If the Stream object that this EncoderStream object owns is closed or was opened with read-only access, the CanWrite property returns false.

See also

Reference

EncoderStream class

EncoderStream members

Microsoft.Exchange.Data.Mime.Encoders namespace