طريقة System::Xml::XPath::XPathNavigator::Matches

XPathNavigator::Matches(SharedPtr<XPathExpression>) method

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

virtual bool System::Xml::XPath::XPathNavigator::Matches(SharedPtr<XPathExpression> expr)
معاملنوعالوصف
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)
معاملنوعالوصف
xpathStringالتعبير XPath.

ReturnValue

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

انظر أيضًا