TRttiTypeHelper.GetAttributes Method

Definition

Returns all attributes specified on the type and if specified also of its ancestor types (for classes and interfaces).

Delphi
function GetAttributes(inherit: Boolean = False): TArray<TCustomAttribute>

Parameters

inherit
Boolean

Returns

TArray<TCustomAttribute>