Partager via


HtmlToText.InputEncoding Property

The InputEncoding property gets or sets a Encoding object that represents the encoding to use when reading HTML 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 the converter using a writable ConverterStream object. It is not applicable when data is pulled from a TextReader or pushed through a ConverterWriter.

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