다음을 통해 공유


Include Element

The Include element specifies a file that can be located on the supplied include path for insertion into the current file. All symbols and types defined will become part of the compiled result.

<Include href="stdidcmd.h" />

Attributes and Elements

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

Attributes

Attribute

Description

href

Required. The path to the header file:

href="stdidcmd.h"

Condition

Optional. See VSCT XML Schema Conditional Attributes.

Child Elements

Element

Description

None.

None.

Parent Elements

Element

Description

CommandTable Element

Defines all of the elements that represent commands — that is, menu items, menus, toolbars, and combo boxes — that a VSPackage provides to the IDE.

Example

<Include href="PackagePlacements.vsct"/>

See Also

Other Resources

Visual Studio Command Table (.Vsct) Files