TCodeUnit.FindAliasByReference Method
Searches for a type alias by the name of the type it references.
Syntax
Unit: Bcl.Code.MetaClasses
function TCodeUnit.FindAliasByReference(const Referenced: string): TCodeTypeAliasDeclaration;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | Referenced | string | The referenced type name to find (case-insensitive). |
Returns
The matching TCodeTypeAliasDeclaration, or nil if not found.