System::Xml::XPath::XPathNavigator::Matches-Methode

XPathNavigator::Matches(SharedPtr<XPathExpression>) method

Bestimmt, ob der aktuelle Knoten den angegebenen XPathExpression entspricht.

virtual bool System::Xml::XPath::XPathNavigator::Matches(SharedPtr<XPathExpression> expr)
ParameterTypBeschreibung
exprSharedPtr<XPathExpression>Ein XPathExpression-Objekt, das den kompilierten XPath-Ausdruck enthält.

ReturnValue

true if the current node matches the XPathExpression; otherwise, false.

Siehe auch

XPathNavigator::Matches(String) method

Bestimmt, ob der aktuelle Knoten den angegebenen XPath-Ausdruck entspricht.

virtual bool System::Xml::XPath::XPathNavigator::Matches(String xpath)
ParameterTypBeschreibung
xpathStringDer XPath-Ausdruck.

ReturnValue

true if the current node matches the specified XPath expression; otherwise, false.

Siehe auch