Compartilhar via


byteOrderMark Property (Windows CE 5.0)

Send Feedback

This property determines whether or not to write the Byte Order Mark (BOM).

[proput]HRESULT byteOrderMark([in] VARIANT_BOOLfWriteByteOrderMark);

[propget]HRESULTbyteOrderMark([out, retval] VARIANT_BOOL* fWriteByteOrderMark);

Parameters

  • fWriteByteOrderMark
    Boolean expression (TRUE/FALSE) specifying whether the feature is on or off, as shown in the following table.
    Value Description
    TRUE MXMXLWriter follows XML 1.0 specifications and outputs BOM for encoding.
    FALSE MXMXLWriter is prohibited from putting BOM into the resulting XML document.

Remarks

You can use this property to output fragments of larger XML documents that can be assembled into a single XML document later.

The default of this property is dependent on implementation. MXXMLWriter never outputs BOM if the output is set to a string.

Return Values

  • S_OK
    Returned if no errors are reported.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.

See Also

transformNodeToObject Method | IMXWriter:IDispatch

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.