## TypeInfo::AddAttribute method


Lägger till det angivna attributet i listan över typens attribut.

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


| Parameter | Type | Beskrivning |
| --- | --- | --- |
| attribut | const ObjectPtr\& | En konstant referens till ett objekt som representerar ett attribut som ska läggas till |

## Se även

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