次の方法で共有


TextToHtml.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
public bool DetectEncodingFromByteOrderMark { get; set; }
public:
property bool DetectEncodingFromByteOrderMark {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_DetectEncodingFromByteOrderMark ()

/** @property */
public void set_DetectEncodingFromByteOrderMark (boolean value)
public function get DetectEncodingFromByteOrderMark () : boolean

public function set DetectEncodingFromByteOrderMark (value : boolean)

Property Value

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

If the DetectEncodingFromByteOrderMark property is set to true but the byte order mark is not present, then InputEncoding property will be used to determine the encoding.

The DetectEncodingFromByteOrderMark property must be set before conversion begins.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003