XInclude.Process Method (TextReader, XmlWriter, XIncludeSettings)XInclude.Process Method (TextReader, XmlWriter, XIncludeSettings)XInclude::Process Method (TextReader^, XmlWriter^, XIncludeSettings^)
Performs XML inclusion processing on an TextReaderTextReaderTextReader instance and
serializes the result to the specified XmlWriterXmlWriterXmlWriter.
Syntax
Public Shared Sub Process( _ reader As System.IO.TextReader, _ writer As System.Xml.XmlWriter, _ includeSettings As XIncludeSettings _ )
public static void Process( System.IO.TextReader reader, System.Xml.XmlWriter writer, XIncludeSettings includeSettings )
public: static void Process( System.IO::TextReader^ reader, System.Xml::XmlWriter^ writer, XIncludeSettings^ includeSettings )
Parameters
- reader
Type: System.IO.TextReaderSystem.IO.TextReaderSystem.IO::TextReader^
The document to serialize.
- writer
Type: System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter^
The writer to serialize to.
- includeSettings
Type: XmlPrime.XIncludeSettingsXmlPrime.XIncludeSettingsXmlPrime::XIncludeSettings^
A XIncludeSettingsXIncludeSettingsXIncludeSettings instance.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException |
reader or writer is null
a null reference (Nothing in Visual Basic)
nullptr .
|
XdmExceptionXdmExceptionXdmException | An error occurred during serialization. |