TCodeParameterDeclaration.Create Constructor
Overloads
- TCodeParameterDeclaration.Create(string, string)
- TCodeParameterDeclaration.Create(string, string, TCodeParameterModifier)
TCodeParameterDeclaration.Create(string, string)
Creates a parameter declaration with the specified name and type.
Syntax
Unit: Bcl.Code.MetaClasses
constructor TCodeParameterDeclaration.Create(AName: string; AType: string);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| AName | string | The parameter name. | |
| AType | string | The parameter type name. |
See also
TCodeParameterDeclaration.Create(string, string, TCodeParameterModifier)
Creates a parameter declaration with the specified name, type, and modifier.
Syntax
Unit: Bcl.Code.MetaClasses
constructor TCodeParameterDeclaration.Create(AName: string; AType: string; AModifier: TCodeParameterModifier);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| AName | string | The parameter name. | |
| AType | string | The parameter type name. | |
| AModifier | TCodeParameter​Modifier | The parameter modifier (var, const, or none). |