Share via


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

value = instance.InputEncoding

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

Property value

Type: System.Text.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.

See also

Reference

TextToHtml class

TextToHtml members

Microsoft.Exchange.Data.TextConverters namespace