Metode System::Xml::XPath::XPathNavigator::Matches

XPathNavigator::Matches(SharedPtr<XPathExpression>) method

Menentukan apakah node saat ini cocok dengan XPathExpression yang ditentukan.

virtual bool System::Xml::XPath::XPathNavigator::Matches(SharedPtr<XPathExpression> expr)
ParameterTipeDeskripsi
exprSharedPtr<XPathExpression>Sebuah objek XPathExpression yang berisi ekspresi XPath yang telah dikompilasi.

ReturnValue

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

Lihat Juga

XPathNavigator::Matches(String) method

Menentukan apakah node saat ini cocok dengan ekspresi XPath yang ditentukan.

virtual bool System::Xml::XPath::XPathNavigator::Matches(String xpath)
ParameterTipeDeskripsi
xpathStringEkspresi XPath.

ReturnValue

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

Lihat Juga