Share via


EnrichedToText.DetectEncodingFromByteOrderMark property

The DetectEncodingFromByteOrderMark property gets or sets a Boolean value that indicates whether the encoding is detected from the byte order mark or determined by the InputEncoding property.

Namespace:  Microsoft.Exchange.Data.TextConverters
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Property DetectEncodingFromByteOrderMark As Boolean
    Get
    Set
'Usage
Dim instance As EnrichedToText
Dim value As Boolean

value = instance.DetectEncodingFromByteOrderMark

instance.DetectEncodingFromByteOrderMark = value
public bool DetectEncodingFromByteOrderMark { get; set; }

Property value

Type: System.Boolean
The DetectEncodingFromByteOrderMark property returns true if the byte order mark in the input is to be used to determine the encoding. This property returns false to indicate that the input encoding is to be determined by the InputEncoding property.

Remarks

The DetectEncodingFromByteOrderMark property must be set before conversion begins.

See also

Reference

EnrichedToText class

EnrichedToText members

Microsoft.Exchange.Data.TextConverters namespace