## XPathNavigator::get_HasAttributes method


Returns a value that indicates whether the current node has any attributes.

```cpp
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.

## See Also

* Class [XPathNavigator](../)
* Namespace [System::Xml::XPath](../../)
* Library [Aspose.PUB for C++](../../../)
