Determines whether to write the Byte Order Mark (BOM) to output.
When set to True, IMXWriter
follows XML 1.0 specifications and outputs BOM for appropriate encoding. When set to False, IMXWriter
is prohibited from putting BOM into the resulting XML document.
Property Let IMXWriter_byteOrderMark(ByVal RHS As Boolean) Property Get IMXWriter_byteOrderMark() As Boolean
oMXXMLWriter.byteOrderMark = boolValue boolValue = oMXXMLWriter.byteOrderMark
Boolean. Read/write. The byteOrderMark
property has no effect for BSTR or DOM output.
[proput] HRESULT byteOrderMark ( [in] VARIANT_BOOL fWriteByteOrderMark);
[propget] HRESULT byteOrderMark ( [out, retval] VARIANT_BOOL * fWriteByteOrderMark);
The default of this property depends on the implementation. IMXWriter
never outputs BOM if the output is set to a string. The byteOrderMark
property has no effect for BSTR or DOM output.
Value | Description |
---|---|
True | IMXWriter follows XML 1.0 specifications and outputs BOM for encoding. |
False | IMXWriter is prohibited from putting BOM into the resulting XML document. |
The XSLProcessor
object implements the byteOrderMark
property as follows:
To view reference information for Visual Basic or C/C++ only, click the Language Filter button in the upper-left corner of the page.
MXHTMLWriter CoClass | MXXMLWriter CoClass
Applies to: IMXWriter Interface