## Attribute::GetCustomAttributes method


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

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


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

### ReturnValue

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

## 另见

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