Share via


EncoderStream.CanRead property

The CanRead property gets a Boolean value indicating whether this EncoderStream supports reading.

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

Syntax

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

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

Property value

Type: System.Boolean
The CanRead property returns true if the Stream object that this EncoderStream owns supports reading. Otherwise, if the Stream object that this EncoderStream owns is closed or was opened with write-only privileges, CanRead returns false.

See also

Reference

EncoderStream class

EncoderStream members

Microsoft.Exchange.Data.Mime.Encoders namespace