System::TypeInfo::GetCustomAttributes 方法
TypeInfo::GetCustomAttributes() const method
返回一个数组,其中包含表示应用于该类型的所有自定义属性的对象。
ArrayPtr<ObjectPtr> System::TypeInfo::GetCustomAttributes() const
另见
- Typedef ArrayPtr
- Class SmartPtr
- Class TypeInfo
- Namespace System
- Library Aspose.Font for C++
TypeInfo::GetCustomAttributes(const TypeInfo&, bool) const method
返回一个数组,其中包含表示应用于该类型的特定属性的对象。
ArrayPtr<ObjectPtr> System::TypeInfo::GetCustomAttributes(const TypeInfo &attributeType, bool inherit) const
| 参数 | 类型 | 描述 |
|---|---|---|
| attributeType | const TypeInfo& | 要查找的属性的类型。 |
| inherit | bool | 是否也查找继承的属性。 |