GetCustomAttribute()
Attribute::GetCustomAttribute(const TypeInfo&, const TypeInfo&) method
Returns a custom attribute of a specified type appllied to specified type.
static Object::ptr System::Attribute::GetCustomAttribute(const TypeInfo &type, const TypeInfo &attributeType)
Arguments
Parameter | Type | Description |
---|---|---|
type | const TypeInfo& | Type attribute of which is retrieved |
attributeType | const TypeInfo& | Type of the attribute to retrieve |
Return Value
A retrieved attribute or null if specified type does not have attribute of specified type.
See Also
- Typedef ptr
- Class TypeInfo
- Class Attribute
- Namespace System
- Library Aspose.Slides