Keyword 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

Keyword Element (IntelliSense Code Snippets)

Specifies a custom keyword for the code snippet.

    Code Snippet Keyword

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



Child Elements


Parent Elements




Groups individual Keyword elements.

A text value is required.

The keyword for the code snippet.

The code snippet keywords are used by Visual Studio and represent a standard way for online content providers to add custom keywords for searching or categorization.

The following code snippet contains the keywords File copying and Copying files.

<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