Partager via


IDSymbol element

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

The IDSymbol element contains the ID of the GUID:ID pair that represents a menu, group, or command. The GUID comes from the parent GuidSymbol element. The IDSymbol element has a name attribute that provides a friendly name for the ID, which is contained in the value attribute.

Syntax

<IDSymbol name=ElementName value="0x0010" />

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description
name Required. Name of the ID symbol.
value Required. Numeric ID value of the ID symbol.

Child elements

None.

Parent elements

Element Description
GuidSymbol element Contains the GUID of the GUID:ID pair that represents a menu, group, or command. Groups IDSymbol elements.

Remarks

Every IDSymbol element in a given GuidSymbol element must have a unique value. However, IDSymbol elements that have identical values can exist in a package as long as they have different parents.

See also