TRttiObjectHelper.TryGetCustomAttribute<T> Method
Overloads
| TryGetCustomAttribute(TAttributeClass, TCustomAttribute, Boolean) | |
| TryGetCustomAttribute<T>(T, Boolean) |
Try getting a custom attribute class which is applied by the type. |
Delphi
function TryGetCustomAttribute(attributeClass: TAttributeClass; out attribute: TCustomAttribute; inherit: Boolean = False): Boolean
Parameters
- attributeClass
- TAttributeClass
- attribute
- TCustomAttribute
- inherit
- Boolean
Returns
Boolean