System::Xml::XPath::XPathNavigator::Matches metodu

XPathNavigator::Matches(SharedPtr<XPathExpression>) method

Geçerli düğümün belirtilen XPathExpression ile eşleşip eşleşmediğini belirler.

virtual bool System::Xml::XPath::XPathNavigator::Matches(SharedPtr<XPathExpression> expr)
ParametreTürAçıklama
exprSharedPtr<XPathExpression>Derlenmiş XPath ifadesini içeren bir XPathExpression nesnesi.

ReturnValue

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

Ayrıca Bakınız

XPathNavigator::Matches(String) method

Geçerli düğümün belirtilen XPath ifadesiyle eşleşip eşleşmediğini belirler.

virtual bool System::Xml::XPath::XPathNavigator::Matches(String xpath)
ParametreTürAçıklama
xpathStringBu XPath ifadesi.

ReturnValue

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

Ayrıca Bakınız