Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 1.88 KB

File metadata and controls

47 lines (36 loc) · 1.88 KB
title Parent Element
description The Parent element specifies that an element is a parent of a button, combo box, menu, or group.
ms.date 11/04/2016
ms.topic reference
helpviewer_keywords
VSCT XML schema elements, Parent
Parent element (VSCT XML schema)
author tinaschrepfer
ms.author tinali
ms.subservice extensibility-integration

Parent element

The parent of a button or combo box may only be a group. The parent of a menu or group may be any other menu or group. In a CommandPlacement element, this element is required; in all other instances it is optional. If this element is omitted, the parent of Group_Undefined:0 will be implied.

Syntax

<Parent guid="guidMyCommandSet" id="MyParentGroupOrMenu" />

Attributes and elements

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

Attributes

Attribute Description
guid Required. GUID of GUID/ID command identifier.
id Required. ID of GUID/ID command identifier.

Child elements

None

Parent elements

Element Description
CommandTable element Defines all the elements that represent commands that a VSPackage provides to the integrated development environment (IDE). For example, menu items, menus, toolbars, and combo boxes.
Buttons element Groups Button element elements.
Menus element Defines all the menus that a VSPackage implements.
Groups element Contains entries that define the command groups of a VSPackage.

See also