XInclude.Process Method (IXPathNavigable, TextWriter, XdmWriterSettings, XIncludeSettings)XInclude.Process Method (IXPathNavigable, TextWriter, XdmWriterSettings, XIncludeSettings)XInclude::Process Method (IXPathNavigable^, TextWriter^, XdmWriterSettings^, XIncludeSettings^)

Performs XML inclusion processing on an IXPathNavigableIXPathNavigableIXPathNavigable instance and serializes the result to a TextWriterTextWriterTextWriter using the specified XdmWriterSettingsXdmWriterSettingsXdmWriterSettings.

Syntax

Public Shared Sub Process( _
    navigable As System.Xml.XPath.IXPathNavigable, _
    textWriter As System.IO.TextWriter, _
    settings As XmlPrime.Serialization.XdmWriterSettings, _
    includeSettings As XIncludeSettings _
)
public static void Process(
    System.Xml.XPath.IXPathNavigable navigable,
    System.IO.TextWriter textWriter,
    XmlPrime.Serialization.XdmWriterSettings settings,
    XIncludeSettings includeSettings
)
public:
static void Process(
    System.Xml.XPath::IXPathNavigable^ navigable, 
    System.IO::TextWriter^ textWriter, 
    XmlPrime.Serialization::XdmWriterSettings^ settings, 
    XIncludeSettings^ includeSettings
)
 

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullException textWriter or settings is null a null reference (Nothing in Visual Basic) nullptr.
XdmExceptionXdmExceptionXdmExceptionAn error occurred during serialization.

Remarks

The value of the EncodingEncodingEncoding and ByteOrderMarkByteOrderMarkByteOrderMark properties of settings is ignored, and the encoding specified by textWriter is used instead.