Partager via


IDSymbol Element

Note

This article applies to Visual Studio 2015. 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

Visual Studio Command Table (.Vsct) Files