Share via


XmlWriterProperty_ByteOrderMark (Compact 7)

3/12/2014

This property specifies whether the writer should write a Byte Order Mark (BOM) to the beginning of the output. This property is of type BOOL.

The default value is TRUE.

Remarks

Not all encodings have a BOM. Therefore, the writer will write the BOM only if the encoding does have a BOM.

This property can be set and retrieved by using the SetProperty (IXmlReader) and GetProperty (IXmlReader) methods.

See Also

Reference

IXmlWriter Properties
SetProperty (IXmlReader)
GetProperty (IXmlReader)
CreateXmlWriterOutputWithEncodingCodePage
IXmlWriter Methods