Table of Contents

TCodeMemberConst.Create Constructor

Overloads

TCodeMemberConst.Create(string, string)

Creates a public constant with the specified name and value.

Syntax

Unit: Bcl.Code.MetaClasses

constructor TCodeMemberConst.Create(const AName: string; const AValue: string);

Parameters

<-> Parameter Type Description
const AName string The constant name.
const AValue string The raw value expression text.

See also

TCodeMemberConst.Create(string, string, TMemberVisibility)

Creates a constant with the specified name, value, and visibility.

Syntax

Unit: Bcl.Code.MetaClasses

constructor TCodeMemberConst.Create(const AName: string; const AValue: string; AVisibility: TMemberVisibility);

Parameters

<-> Parameter Type Description
const AName string The constant name.
const AValue string The raw value expression text.
AVisibility TMemberVisibility The visibility of the constant.

See also