次の方法で共有


TextToHtml.InputEncoding Property

The InputEncoding property gets or sets a Encoding object that represents the encoding to use when reading enriched text input.

Namespace: Microsoft.Exchange.Data.TextConverters
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)

Syntax

'Declaration
Public Property InputEncoding As Encoding
public Encoding InputEncoding { get; set; }
public:
property Encoding^ InputEncoding {
    Encoding^ get ();
    void set (Encoding^ value);
}
/** @property */
public Encoding get_InputEncoding ()

/** @property */
public void set_InputEncoding (Encoding value)
public function get InputEncoding () : Encoding

public function set InputEncoding (value : Encoding)

Remarks

The InputEncoding property is only applicable when input data is pulled from a Stream object or pushed into this InputEncoding object using a writable ConverterStream object. It is not applicable when data is pulled from a TextReader objector pushed through a ConverterWriter object.

When applicable, the InputEncoding property must be set before conversion begins.

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