TRttiObjectHelper.GetCustomAttributes<T> Method
Overloads
| GetCustomAttributes(TAttributeClass, Boolean) | |
| GetCustomAttributes<T>(Boolean) |
Gets an array which contains all custom attribute types which the type applies. |
Delphi
function GetCustomAttributes(attributeClass: TAttributeClass; inherit: Boolean = False): TArray<TCustomAttribute>
Parameters
- attributeClass
- TAttributeClass
- inherit
- Boolean
Returns
TArray<TCustomAttribute>