## TypeInfo::AddAttribute method


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

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| attribute | const ObjectPtr\& | 对表示待添加属性的对象的常量引用 |

## 另见

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