System::Xml::XPath::XPathNavigator::Matches método

XPathNavigator::Matches(SharedPtr<XPathExpression>) method

Determina si el nodo actual coincide con la XPathExpression especificada.

virtual bool System::Xml::XPath::XPathNavigator::Matches(SharedPtr<XPathExpression> expr)
ParámetroTipoDescripción
exprSharedPtr<XPathExpression>Un objeto XPathExpression que contiene la expresión XPath compilada.

ReturnValue

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

Ver también

XPathNavigator::Matches(String) method

Determina si el nodo actual coincide con la expresión XPath especificada.

virtual bool System::Xml::XPath::XPathNavigator::Matches(String xpath)
ParámetroTipoDescripción
xpathStringLa expresión XPath.

ReturnValue

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

Ver también