Table of Contents

TCodeParameterDeclaration Class

Represents a parameter declaration in a method signature.

Syntax

Unit: Bcl.Code.MetaClasses

TCodeParameterDeclaration = class(TCodeExpression);

Constructors

Methods

Name Description
AddAttribute Adds an attribute to this parameter declaration.

Properties

Name Description
Modifier Gets or sets the parameter modifier.
Name Gets or sets the parameter name.
ParameterType Gets or sets the type reference for this parameter.
DefaultValue Gets or sets the default value expression for this parameter.
CustomAttributes Gets the list of custom attributes applied to this parameter.