Use the Add Parameter or Edit Parameter dialog box to add a parameter to a method signature or to edit a parameter that you have already added.
Item |
Description |
Parameter Name |
Specifies the name of the new parameter. You must enter a legal Delphi identifier. |
Data type |
Specifies the type of the new parameter. |
Matching Results |
Lists data types that match the text you enter in the Data type field. |
Literal Value |
Specifies the value for the new parameter. Refactoring uses this literal as the value of the new parameter in existing calls to this procedure. |
Parameter Type |
Specifies the parameter type. |
Value |
Passes the parameter by value. |
Var |
Passes the parameter by reference. |
Out |
Passes the parameter by reference and discards the initial value. |
Const |
Passes the parameter by value and disallows assignment to the parameter. |
|
|
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|