TextToRtf.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 TextToRtf
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 object or pushed through a ConverterWriter object.
When applicable, the InputEncoding property must be set before conversion begins.