XdmWriterSettings.ByteOrderMark PropertyXdmWriterSettings.ByteOrderMark PropertyXdmWriterSettings::ByteOrderMark Property

Gets or sets a value indicating whether the output should be preceded by a byte order mark.

Syntax

Public Property ByteOrderMark As Boolean
        Get
        Set(ByVal value As Boolean)
public bool ByteOrderMark { get; set; }
public:
property bool ByteOrderMark {
    bool get();
    void set(bool value);
}
 

Property Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if the output should be preceded by a byte order mark; otherwise falseFalsefalse.

Remarks

The ByteOrderMarkByteOrderMarkByteOrderMark property corresponds to the byte-order-mark serialization parameter, which indicates whether the serialized sequence of octets is to be preceded by a Byte Order Mark. If the encoding defines no Byte Order Mark, or if the Byte Order Mark is prohibited for the specific Unicode encoding or implementation environment, then this parameter is ignored. By default this parameter is set to no.

This property is ignored when MethodMethodMethod is set to CanonicalOutputMethodCanonicalOutputMethodCanonicalOutputMethod.