Compartilhar via


EnrichedToText.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 EnrichedToText
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 the converter using a writable ConverterStream object. It is not applicable when data are pulled from a TextReader or pushed through a ConverterWriter.

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

See also

Reference

EnrichedToText class

EnrichedToText members

Microsoft.Exchange.Data.TextConverters namespace