| title | PreviewImage Element (Visual Studio Templates) | ||
|---|---|---|---|
| description | Learn about the PreviewImage element and how it specifies the file name for the preview image that will appear in the New Project or Add New Item dialog box. | ||
| ms.date | 11/04/2016 | ||
| ms.subservice | general-ide | ||
| ms.topic | reference | ||
| helpviewer_keywords |
|
||
| author | tinaschrepfer | ||
| ms.author | tinali | ||
| manager | mijacobs |
Specifies the preview image, as a file name, for the preview image that will appear in either the New Project or Add New Item dialog box.
<VSTemplate> <TemplateData> <PreviewImage>
<PreviewImage>"filename"</PreviewImage>
The following sections describe attributes, child elements, and parent elements.
None.
None.
| Element | Description |
|---|---|
| TemplateData | Required element. Categorizes the template and defines how it is displayed in either the New Project or the Add New Item dialog box. |
A text value is required.
The text must be a string that represents a file name.
PreviewImage is an optional element.