Metodo System::Xml::XPath::XPathNavigator::Matches

XPathNavigator::Matches(SharedPtr<XPathExpression>) method

Determina se il nodo corrente corrisponde alla XPathExpression specificata.

virtual bool System::Xml::XPath::XPathNavigator::Matches(SharedPtr<XPathExpression> expr)
ParametroTipoDescrizione
exprSharedPtr<XPathExpression>Un oggetto XPathExpression che contiene l’espressione XPath compilata.

ReturnValue

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

Vedi anche

XPathNavigator::Matches(String) method

Determina se il nodo corrente corrisponde all’espressione XPath specificata.

virtual bool System::Xml::XPath::XPathNavigator::Matches(String xpath)
ParametroTipoDescrizione
xpathStringL’espressione XPath.

ReturnValue

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

Vedi anche