편집

다음을 통해 공유


XPathMessageFilter.ReadXPath(XmlReader, XmlNamespaceManager) Method

Definition

Initializes the current instance of the XPathMessageFilter with an XPath obtained from a specified XML reader using a specified namespace manager.

protected:
 void ReadXPath(System::Xml::XmlReader ^ reader, System::Xml::XmlNamespaceManager ^ namespaces);
protected void ReadXPath (System.Xml.XmlReader reader, System.Xml.XmlNamespaceManager namespaces);
member this.ReadXPath : System.Xml.XmlReader * System.Xml.XmlNamespaceManager -> unit
Protected Sub ReadXPath (reader As XmlReader, namespaces As XmlNamespaceManager)

Parameters

reader
XmlReader

The XmlReader used to deserialize the XPath filter.

namespaces
XmlNamespaceManager

The XmlNamespaceManager used to manage the namespaces being read from.

Remarks

The namespace manager instance can be an XsltContext that is used to resolve functions and variables.

Applies to