## TypeInfo::AddAttribute method


将指定的属性添加到类型属性列表中。

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


| Parameter | Type | 描述 |
| --- | --- | --- |
| 属性 | const ObjectPtr\& | 对表示要添加的属性的对象的常量引用 |

## 另见

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