System::Attribute::GetCustomAttributes 方法
Attribute::GetCustomAttributes method
返回指定类型上应用的所有自定义属性。
static ArrayPtr<Object::ptr> System::Attribute::GetCustomAttributes(const TypeInfo &type)
| Parameter | Type | 描述 |
|---|---|---|
| 类型 | const TypeInfo& | 要检索的类型属性 |
ReturnValue
包含应用于指定类型的属性的数组