System::Xml::XPath::XPathNavigator::Matches メソッド

XPathNavigator::Matches(SharedPtr<XPathExpression>) method

現在のノードが指定された XPathExpression と一致するかどうかを判断します。

virtual bool System::Xml::XPath::XPathNavigator::Matches(SharedPtr<XPathExpression> expr)
パラメーター説明
exprSharedPtr<XPathExpression>コンパイルされた XPath 式を含む XPathExpression オブジェクトです。

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)
パラメーター説明
xpathStringXPath 式です。

ReturnValue

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

参照