TRttiObjectHelper.TryGetCustomAttribute(TAttributeClass,TCustomAttribute,Boolean) Method

Represents method TryGetCustomAttribute(TAttributeClass,TCustomAttribute,Boolean).

Namespace: Spring.Reflection
public
 function TryGetCustomAttribute(attributeClass: TAttributeClass;
 out attribute: TCustomAttribute; inherit: Boolean = False): Boolean; overload;

Parameters

attributeClass
Type: TAttributeClass

attribute
Type: TCustomAttribute

inherit
Type: Boolean

Return Value

Type: Boolean