## XmlNode::get_Attributes method


このノードの属性を含む [XmlAttributeCollection](../../xmlattributecollection/) を返します。

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


### ReturnValue

[XmlAttributeCollection](../../xmlattributecollection/) はノードの属性を含みます。ノードが [XmlNodeType::Element](../../xmlnodetype/) 型の場合、ノードの属性が返されます。それ以外の場合、このメソッドは **nullptr** を返します。

## 参照

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