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

Property Value

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.

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