Description Element (IntelliSense Code Snippets)
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Description Element (IntelliSense Code Snippets)

Specifies descriptive information about the contents of an IntelliSense Code Snippet.

    Code Snippet Description

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



Child Elements


Parent Elements




Contains general information about a code snippet.

A text value is required.

This text specifies a description of a code snippet.

The text value of the Description element provides a ToolTip for the code snippet in the Code Snippet Picker and the description for the code snippet in the Code Snippets Manager.

The Description element in the following code snippet contains the value Copies a file and saves it as another file. This description appears as the code snippet's ToolTip in the Code Snippet Inserter and the code snippet's description in the Code Snippet Manager.

<CodeSnippets xmlns="">
   <CodeSnippet Format="1.0.0">
         <Title>Copy File</Title>
         <Author>Microsoft Corporation</Author>
         <Description>Copies a file and saves it as another file.</Description>
             <Keyword>File copying</Keyword>
             <Keyword>Copying files</Keyword>
         <!-- Insert snippet information here -->
© 2015 Microsoft