次の方法で共有


XmlWriterProperty_ByteOrderMark

 

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

Default Value

TRUE

Remarks

Not all encodings have a BOM, so the writer will write the BOM only if the encoding does have a BOM. The default value is TRUE.

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

Requirements

Header: XmlLite.h

Library: XmlLite.lib

See Also

IXmlWriter Properties
CreateXmlWriterOutputWithEncodingCodePage