Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Changing a Symbol or Symbol Name (ID)


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at Changing a Symbol or Symbol Name (ID).

When you create a new resource or resource object, the development environment assigns it a default symbol name, for example, IDD_DIALOG1. You can use the Properties Window to change the default symbol name or to change the name of any symbol already associated with a resource.

To change a resource's symbol name

  1. In Resource View, select the resource.

    System_CAPS_ICON_note.jpg Note

    If your project doesn't already contain an .rc file, please see Creating a New Resource Script File.

  2. In the Properties window, type a new symbol name or select from the list of existing symbols in the ID box.

    If you type a new symbol name, it is automatically assigned a value.

You can use the Resource Symbols dialog box to change the names of symbols not currently assigned to a resource. For more information, see Changing Unassigned Symbols.

For information on adding resources to managed projects, please see Resources in Applications in the .NET Framework Developer's Guide. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resources strings to properties, see Walkthrough: Using Resources for Localization with ASP.NET.



Symbol Name Restrictions
Predefined Symbol IDs

© 2017 Microsoft