TCodeTypeDeclaration.AddProcedure Method
Adds a procedure to this type declaration.
Syntax
Unit: Bcl.Code.MetaClasses
function TCodeTypeDeclaration.AddProcedure(AName: string; AVisibility: TMemberVisibility): TCodeMemberMethod;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| AName | string | The procedure name. | |
| AVisibility | TMemberVisibility | The visibility of the procedure. |
Returns
The created TCodeMemberMethod instance.