TRttiObjectHelper.GetCustomAttributes<T>(Boolean) Method

Gets an array which contains all custom attribute types which the type applies.

Namespace: Spring.Reflection
public
 function GetCustomAttributes<T: TCustomAttribute>(
 inherit: Boolean = False): TArray<T>; overload;

Type Parameters

T

Parameters

inherit
Type: Boolean

Return Value

Type: TArray<T>