System::Xml::XPath::XPathNavigator::get_HasAttributes 方法

XPathNavigator::get_HasAttributes method

返回一个值,指示当前节点是否具有任何属性。

virtual bool System::Xml::XPath::XPathNavigator::get_HasAttributes()

ReturnValue

true if the current node has attributes; returns false if the current node has no attributes, or if the XPathNavigator is not positioned on an element node.

另见