TemplateGroupID Element (Visual Studio Templates)

Specifies an identifier for a category of item templates.

<VSTemplate>
   <TemplateData>
     <TemplateGroupID>

<TemplateGroupID> ... </TemplateGroupID>

特性和元素

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

特性

None.

子元素

None.

父元素

Element

Description

TemplateData

Categorizes the template and defines how it displays in either the New Project or the Add New Item dialog box.

文本值

A text value is required.

The text specifies an identifier for a category of item templates.

备注

TemplateGroupID is an element.

The value of the TemplateGroupID element is used along with project system registration (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\11.0\Projects\) to filter templates that appear in the Add New Item dialog box.

请参见

参考

Visual Studio 模板架构参考

概念

在 Visual Studio 中创建项目和项的模板