Partager via


Icon 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 guid attribute of the Icon tag is the guid of a defined bitmap. The id attribute selects the slot in the bitmap strip. This element is optional. If this element is omitted the value of guidOfficeIcon:msotcidNoIcon will be implied.

Syntax

<Icon guid="guidImages" id="bmpPic1" />  

Attributes and Elements

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

Attributes

Attribute Description
guid Required. The guid of a defined bitmap.
id Required. Selects the slot in the bitmap strip.

Child Elements

Element Description
None. None.

Parent Elements

Element Description
Buttons Element

See Also

Visual Studio Command Table (.Vsct) Files