Expand Minimize

IXmlWriterOutput

When you write XML documents that use an encoding other than UTF-8, you use an instance of IXmlWriterOutput. With this class, you can set the characteristics of the output separately from the XML writer.

An instance of IXmlWriterOutput is created by using the CreateXmlWriterOutputWithEncodingCodePage or CreateXmlWriterOutputWithEncodingName functions.

After the IXmlWriterOutput object is created, the user sets the output for the writer by calling the IXmlWriter::SetOutput method.

The IXmlWriterOutput interface contains no methods; in fact, it is implemented as an alias for the standard COM IUnknown interface.

Header: XmlLite.h

Library: XmlLite.lib

Show:
© 2014 Microsoft. All rights reserved.