## MemberInfo::AddAttribute method


Adds attribute to collection.

```cpp
void System::Reflection::MemberInfo::AddAttribute(const ObjectPtr &attribute)
```


| Parameter | Type | Description |
| --- | --- | --- |
| attribute | const ObjectPtr\& | [Attribute](../../../system/attribute/) to add to current member. |

## See Also

* Typedef [ObjectPtr](../objectptr/)
* Class [MemberInfo](../)
* Namespace [System::Reflection](../../)
* Library [Aspose.TeX for C++](../../../)
