System::Attribute::GetCustomAttribute metod
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 | Typ | Beskrivning |
|---|---|---|
| typ | const TypeInfo& | Typattribut som hämtas |
| attributeType | const TypeInfo& | Typ av attributet som ska hämtas |
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.PDF for C++