Compartilhar via


HtmlToText.OutputEncoding property

The OutputEncoding 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 OutputEncoding As Encoding
    Get
    Set
'Usage
Dim instance As HtmlToText
Dim value As Encoding

value = instance.OutputEncoding

instance.OutputEncoding = value
public Encoding OutputEncoding { get; set; }

Property value

Type: System.Text.Encoding

Remarks

The OutputEncoding 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 output data is pulled from a TextReader or pushed through a ConverterWriter.

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

See also

Reference

HtmlToText class

HtmlToText members

Microsoft.Exchange.Data.TextConverters namespace