TCodeMemberMethod.AddParameter Method
Adds a parameter to this method.
Syntax
Unit: Bcl.Code.MetaClasses
function TCodeMemberMethod.AddParameter(const AName: string; const AType: string): TCodeParameterDeclaration;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | AName | string | The parameter name. |
| const | AType | string | The parameter type name. |
Returns
The created TCodeParameterDeclaration instance.