## MemberInfo::AddAttribute method


Agrega un atributo a la colección.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| attribute | const ObjectPtr\& | [Attribute](../../../system/attribute/) para añadir al miembro actual. |

## Ver también

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