TCodeTypeMember.FindAttribute Method
Searches for an attribute by name on this member.
Syntax
Unit: Bcl.Code.MetaClasses
function TCodeTypeMember.FindAttribute(const Name: string): TCodeAttributeDeclaration;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | Name | string | The attribute name to search for (case-insensitive). |
Returns
The matching TCodeAttributeDeclaration, or nil if not found.