Uređivanje

Dijeli putem


XPathMessageFilter.WriteXPath(XmlWriter, IXmlNamespaceResolver) Method

Definition

Serializes the XPath filter to an XmlWriter.

protected:
 void WriteXPath(System::Xml::XmlWriter ^ writer, System::Xml::IXmlNamespaceResolver ^ resolver);
protected void WriteXPath (System.Xml.XmlWriter writer, System.Xml.IXmlNamespaceResolver resolver);
member this.WriteXPath : System.Xml.XmlWriter * System.Xml.IXmlNamespaceResolver -> unit
Protected Sub WriteXPath (writer As XmlWriter, resolver As IXmlNamespaceResolver)

Parameters

writer
XmlWriter

The XmlWriter used to serialize the XPath filter.

resolver
IXmlNamespaceResolver

The IXmlNamespaceResolver used to resolve any namespace conflict for the XPath filter.

Remarks

The writer must be in the Start state. Otherwise an exception is thrown.

Applies to