Udostępnij za pośrednictwem


How to: Rename Members in Application Systems

In System Designer, you can rename members of your application system. You can perform this task by opening the system diagram that defines that system and then renaming those members. When you rename a member, you can choose to rename that member only or rename its definition also.

Note

You need to remember certain considerations when you rename a member or its definition. If you rename a definition, Visual Studio renames all uses of that definition in other system definitions only if the corresponding system diagrams are open. For more information, see Considerations for Renaming Applications on Application Diagrams. Renaming a system definition does not rename the corresponding system diagram file.

To rename a member of a system definition only

  1. On the system diagram, click the member.

    Tip

    You can also double-click the member name.

  2. On the Diagram menu, click Rename.

    The Rename dialog box appears.

  3. In the Rename dialog box, type the new member name in the Member Name box.

  4. Clear the Rename Definition box and click OK.

    The member displays the new name. The name of the member's definition appears under the member's new name.

To rename a member and its definition

  1. On the system diagram, click the member.

    Tip

    You can also double-click the member name.

  2. On the Diagram menu, click Rename.

    The Rename dialog box appears.

  3. In the Rename dialog box, type the new name in the Member Name box.

  4. Confirm that the Rename Definition box appears selected.

  5. Choose one of the following:

    • To use the member name as the definition name, confirm that the Same as Member Name box appears selected, and click OK.

      The member and its definition display the same new name.

    • To type a different definition name, clear the Same as Member Name box, type the new definition name, and click OK.

      The member and its definition display different new names. The name of the member's definition appears under the member's new name.

See Also

Tasks

How to: Rename Endpoints on System Diagrams

Other Resources

Designing Application Systems on System Diagrams