Title 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

Title Element (IntelliSense Code Snippets)

Specifies the title for the code snippet.

    Code Snippet Title

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 the title of the code snippet.

The title stored in the Title element of the code snippet appears in the Code Snippet Picker and in the code snippet's description in the Code Snippets Manager.

The Title element of the following code snippet contains the value Copy File. This title appears in the Code Snippet Inserter and in description of the code snippet in the Code Snippets Manager.

<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
    <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 -->
© 2016 Microsoft