System::TypeInfo::GetCustomAttributes‑metod
TypeInfo::GetCustomAttributes() const method
Returnerar en array som innehåller objekt som representerar alla anpassade attribut som tillämpats på typen.
ArrayPtr<ObjectPtr> System::TypeInfo::GetCustomAttributes() const
Se även
- Typedef ArrayPtr
- Class SmartPtr
- Class TypeInfo
- Namespace System
- Library Aspose.Page for C++
TypeInfo::GetCustomAttributes(const TypeInfo&, bool) const method
Returnerar en array som innehåller objekt som representerar specifika attribut som tillämpats på typen.
ArrayPtr<ObjectPtr> System::TypeInfo::GetCustomAttributes(const TypeInfo &attributeType, bool inherit) const
| Parameter | Type | Beskrivning |
|---|---|---|
| attributeType | const TypeInfo& | Typ av attribut att söka efter. |
| inherit | bool | Om ärvt attribut också ska sökas efter. |