XPathMessageFilter.WriteXPath(XmlWriter, IXmlNamespaceResolver) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.