TCodeMemberField.Create Constructor
Overloads
- TCodeMemberField.Create(string, TCodeTypeReference)
- TCodeMemberField.Create(string, string)
- TCodeMemberField.Create(string, string, TMemberVisibility)
TCodeMemberField.Create(string, TCodeTypeReference)
Creates a field with the specified name and type reference.
Syntax
Unit: Bcl.Code.MetaClasses
constructor TCodeMemberField.Create(AName: string; AType: TCodeTypeReference);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| AName | string | The field name. | |
| AType | TCodeTypeReference | The type reference for the field. |
See also
TCodeMemberField.Create(string, string)
Creates a field with the specified name and type name.
Syntax
Unit: Bcl.Code.MetaClasses
constructor TCodeMemberField.Create(AName: string; AType: string);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| AName | string | The field name. | |
| AType | string | The type name for the field. |
See also
TCodeMemberField.Create(string, string, TMemberVisibility)
Creates a field with the specified name, type name, and visibility.
Syntax
Unit: Bcl.Code.MetaClasses
constructor TCodeMemberField.Create(AName: string; AType: string; AVisibility: TMemberVisibility);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| AName | string | The field name. | |
| AType | string | The type name for the field. | |
| AVisibility | TMemberVisibility | The visibility of the field. |