System::Xml::XPath::XPathNavigator::Matches method

XPathNavigator::Matches(SharedPtr<XPathExpression>) method

يحدد ما إذا كانت العقدة الحالية تطابق XPathExpression المحدد.

virtual bool System::Xml::XPath::XPathNavigator::Matches(SharedPtr<XPathExpression> expr)
ParameterTypeالوصف
exprSharedPtr<XPathExpression>XPathExpression كائن يحتوي على تعبير XPath المترجم.

ReturnValue

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

انظر أيضًا

XPathNavigator::Matches(String) method

يحدد ما إذا كانت العقدة الحالية تطابق تعبير XPath المحدد.

virtual bool System::Xml::XPath::XPathNavigator::Matches(String xpath)
ParameterTypeالوصف
xpathStringتعبير XPath.

ReturnValue

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

انظر أيضًا