Include Element

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at 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" />  

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

Attributes

AttributeDescription
hrefRequired. The path to the header file:

href="stdidcmd.h"
ConditionOptional. See Conditional Attributes.

Child Elements

ElementDescription
None.None.

Parent Elements

ElementDescription
CommandTable ElementDefines all of the elements that represent commands — that is, menu items, menus, toolbars, and combo boxes — that a VSPackage provides to the IDE.
<Include href="PackagePlacements.vsct"/>  

Visual Studio Command Table (.Vsct) Files

Show: