共用方式為


IXmlWriterLite

 

This class is a programming interface for writing XML quickly, introduced in Windows 10. It implements an interface with most of the same methods as IXmlWriter, except for WriteQualifiedName. Some method signatures are slightly different between IXmlWriter and IXmlWriterLite. For more information, see the individual method topics. IXmlWriterLite can be used anywhere IXmlWriter is used. IXmlWriterLite is faster than IXmlWriter because it skips validation of namespaces and attributes, and does not maintain information that is required to automatically close tags. Use IXmlWriterLite when you can maintain complete XML document correctness in your code, and output speed is of highest importance. Otherwise, we recommend that you use IXmlWriter for its ease of coding and the XML validation it provides.

The IXmlWriterLite class is available in the version of XmlLite.dll distributed in Windows 10. The required header and library file are found in the Windows 10 SDK, which is installed as part of Visual Studio 2015. The Windows 10 SDK can also be installed separately. For more information, see Installing XmlLite.

For more information, see XmlLite Introduction.

In This Section

Topic Description
IXmlWriterLite Methods Documents the methods of IXmlWriterLite.

Requirements

Header: XmlLite.h

Library: XmlLite.lib

See Also

IXmlWriterLite Methods
XmlLite Reference