| title | Define Element | ||
|---|---|---|---|
| description | The Define element defines a symbol name and value pair. This symbol can be evaluated by conditional attributes. | ||
| ms.date | 11/04/2016 | ||
| ms.topic | reference | ||
| helpviewer_keywords |
|
||
| author | tinaschrepfer | ||
| ms.author | tinali | ||
| ms.subservice | extensibility-integration |
Defines a symbol name and value pair. This symbol can be evaluated by conditional attributes. For more information, see Conditional attributes. See also the Symbols element.
<Define name="Mode" value="Standard" />
The following sections describe attributes, child elements, and parent elements.
| Attribute | Description |
|---|---|
| name | Required. The name of the symbol: name="Mode" |
| value | Required. The value of the symbol: value="Standard" |
| Condition | Optional. For more information, see Conditional attributes. |
None.
| 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. |
<Define name="DEMO_UI"/>
<Define name="MODE" value="Standard"/>