System::Attribute::GetCustomAttribute 方法
Attribute::GetCustomAttribute method
返回指定类型上应用的指定类型的自定义属性。
static Object::ptr System::Attribute::GetCustomAttribute(const TypeInfo &type, const TypeInfo &attributeType)
| Parameter | Type | 描述 |
|---|---|---|
| 类型 | const TypeInfo& | 要检索的类型属性 |
| attributeType | const TypeInfo& | 要检索的属性类型 |
ReturnValue
检索到的属性,若指定类型没有该属性则为 null。
另见
- Typedef ptr
- Class TypeInfo
- Class Attribute
- Namespace System
- Library Aspose.Page for C++