Groups element
Applies to: Visual Studio Visual 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
Contains entries that define the command groups of a VSPackage.
Syntax
<Groups>
<Group>... </Group>
<Group>... </Group>
</Groups>
Attributes and elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute | Description |
---|---|
Condition | Optional. See Conditional attributes. |
Child elements
Element | Description |
---|---|
Group element | Represents a single command group. |
Groups element | Contains entries that define the command groups of a VSPackage. |
Parent elements
Element | Description |
---|---|
Commands element | Represents the collection of commands on the VSPackage toolbar. |
Example
<Groups>
<Group guid="cmdSetGuidWidgetCommands" id="groupIDFileEdit">
<Parent guid="guidSHLMainMenu" id="IDM_VS_TOOL_MAINMENU"/>
</Group>
</Groups>