طريقة System::Attribute::GetCustomAttribute
Attribute::GetCustomAttribute method
يعيد سمة مخصصة من نوع محدد مطبقة على النوع المحدد.
static Object::ptr System::Attribute::GetCustomAttribute(const TypeInfo &type, const TypeInfo &attributeType)
| معامل | نوع | الوصف |
|---|---|---|
| نوع | const TypeInfo& | نوع السمة التي يتم استرجاعها |
| attributeType | const TypeInfo& | نوع السمة المراد استرجاعها |
ReturnValue
سمة مسترجعة أو null إذا كان النوع المحدد لا يحتوي على سمة من النوع المحدد.
انظر أيضًا
- Typedef ptr
- Class TypeInfo
- Class Attribute
- Namespace System
- Library Aspose.Font for C++