## Attribute::GetCustomAttributes method


返回指定类型上应用的所有自定义属性。

```cpp
static ArrayPtr<Object::ptr> System::Attribute::GetCustomAttributes(const TypeInfo &type)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 类型 | const TypeInfo\& | 要检索的类型属性 |

### ReturnValue

包含应用于指定类型的属性的数组

## 另见

* Typedef [ArrayPtr](../../arrayptr/)
* Typedef [ptr](../../object/ptr/)
* Class [TypeInfo](../../typeinfo/)
* Class [Attribute](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
