Compartilhar via


HtmlToEnriched.DetectEncodingFromMetaTag property

The DetectEncodingFromMetaTag property gets or sets a Boolean value that indicates whether the encoding is detected from the meta tag 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 DetectEncodingFromMetaTag As Boolean
    Get
    Set
'Usage
Dim instance As HtmlToEnriched
Dim value As Boolean

value = instance.DetectEncodingFromMetaTag

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

Property value

Type: System.Boolean
The DetectEncodingFromByteOrderMark property returns true if the meta tag 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 DetectEncodingFromMetaTag property must be set before conversion begins.

See also

Reference

HtmlToEnriched class

HtmlToEnriched members

Microsoft.Exchange.Data.TextConverters namespace