## TypeInfo::AddAttribute method


Adds the specified attribute to the list of type's attributes.

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


| Parameter | Type | Description |
| --- | --- | --- |
| attribute | const ObjectPtr\& | A constant reference to an object that represents an attribute to be added |

## See Also

* Class [SmartPtr](../../smartptr/)
* Class [TypeInfo](../)
* Namespace [System](../../)
* Library [Aspose.TeX for C++](../../../)
