TCodeTypeDeclaration.AddOperator Method
Adds a class operator to this type declaration.
Syntax
Unit: Bcl.Code.MetaClasses
function TCodeTypeDeclaration.AddOperator(AName: string; AType: string): TCodeMemberMethod;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| AName | string | The operator name. | |
| AType | string | The return type name. |
Returns
The created TCodeMemberMethod instance.