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
public override sealed bool CanRead { get; }
public:
virtual property bool CanRead {
    bool get () override sealed;
}
/** @property */
public final boolean get_CanRead ()
public override final function get CanRead () : boolean

Property Value

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003