How to: Rename Types and Type Members (Class Designer)
In Class Designer, you can rename a type or a member of a type on the class diagram or in the Properties window. In the Class Details window, you can change the name of a member but not a type. Renaming a type or type member propagates to all windows and code locations where the old name appeared.
To rename a name in the Class Designer
On the class diagram, select the type or member.
The name of the member becomes editable.
Type the new name for the type or type member
To rename a name in the Class Details Window
To display the Class Details window, right-click the type or type member and click Class Details.
The Class Details window appears.
In the Name column, change the name of the type member
To move focus away from the cell, press the ENTER key or click away from the cell.
Note
In the Class Details window, you can change the name of a member but not a type.
To rename a name in the Properties window
On the class diagram or the Class Details window, right-click the type or member and click Properties.
The Properties window appears and displays properties for the type or type member.
In the Name property, change the name of the type or type member.
The new name propagates to all windows and code locations in the current project where the old name appeared.
See Also
Tasks
How to: Move a Type Member from one Type to Another (Class Designer)