System::Attribute::GetCustomAttribute-metoden
Attribute::GetCustomAttribute method
Returnerar ett anpassat attribut av en angiven typ som tillämpas på den angivna typen.
static Object::ptr System::Attribute::GetCustomAttribute(const TypeInfo &type, const TypeInfo &attributeType)
| Parameter | Type | Beskrivning |
|---|---|---|
| typ | const TypeInfo& | Typens attribut som hämtas |
| attributeType | const TypeInfo& | Typ av attribut att hämta |
ReturnValue
Ett hämtat attribut eller null om den angivna typen inte har ett attribut av den angivna typen.
Se även
- Typedef ptr
- Class TypeInfo
- Class Attribute
- Namespace System
- Library Aspose.Page for C++