Table of Contents

TCodeVarDeclaration Class

Represents a local variable declaration in a method body.

Syntax

Unit: Bcl.Code.MetaClasses

TCodeVarDeclaration = class(TCodeObject);

Constructors

Name Description
Create Creates a variable declaration with the specified name and type.

Properties

Name Description
Name Gets or sets the variable name.
VarType Gets or sets the type reference for the variable.