## XmlNode::get_Attributes method


Returnerar en [XmlAttributeCollection](../../xmlattributecollection/) som innehåller attributen för den här noden.

```cpp
virtual SharedPtr<XmlAttributeCollection> System::Xml::XmlNode::get_Attributes() final
```


### ReturnValue

En [XmlAttributeCollection](../../xmlattributecollection/) som innehåller nodens attribut. Om noden är av typen [XmlNodeType::Element](../../xmlnodetype/) returneras nodens attribut. Annars returnerar denna metod **nullptr**.

## Se även

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlAttributeCollection](../../xmlattributecollection/)
* Class [XmlNode](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Page for C++](../../../)
