共用方式為


IXmlWriter Properties

 

The following are the IXmlWriter properties.

Your application can get properties via the GetProperty (IXmlWriter) method, and can set properties via the SetProperty (IXmlWriter) method.

Property Description
XmlWriterProperty_ByteOrderMark Specifies whether the writer should write a Byte Order Mark (BOM) to the beginning of the output.
XmlWriterProperty_ConformanceLevel Specifies which level of conformance should be output by the writer.
XmlWriterProperty_Indent Specifies whether to indent the XML output.
XmlWriterProperty_MultiLanguage Specifies an implementation of the IMultiLanguage2 to use for encodings which are not natively supported.
XmlWriterProperty_OmitXmlDeclaration Specifies whether the writer should omit the XML declaration at the beginning of the document.

Note

These "properties" are actually implemented just as individual constants within the XmlWriterProperty enumerated type. However, because these constants signify different characteristics of the XML writer, they have been treated separately.

Requirements

Header: XmlLite.h

Library: XmlLite.lib

See Also

IXmlWriter