RAD Studio (Common)
ContentsIndex
PreviousUpNext
Introduce Field dialog box

RefactorIntroduce Field  

You can open the Introduce Field dialog from the Refactoring main menu, or by using the Refactoring | Introduce Field command on an expression in the Delphi Code EditorVisual Studio Editor.

Note: This feature is available for implementation projects only.
Note: This command is only available while working in the Delphi Code Editor
Visual Studio Editor.

Name 
Enter a name for the new field.  
Visibility 
Choose the visibility for the new field. Using the combo box, choose from public, protected, private, internal, or internal protected.  
Initialize 
Choose where to initialize the new field. Using the combo box, choose from Current method, Class constructor(s), or Field declaration.  
Static 
If applicable, check the Static field.  
Replace all occurrences 
If applicable, check this field to replace all occurrences of the expression.  
Buttons 
 
OK 
Creates the new field and closes the dialog box.  
Cancel 
Discards all changes and closes the dialog box.  
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!