Share via


CodeSnippets Element (IntelliSense Code Snippets)

Groups CodeSnippet elements. The CodeSnippets element is the root element of the code snippet XML schema.

<CodeSnippets>
    <CodeSnippet>... </CodeSnippet>
</CodeSnippets>

Attributes and Elements

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

Attributes

None.

Child Elements

Element

Description

CodeSnippet

Optional element.

Parent element for all code snippet data. There may be zero or more CodeSnippet elements in a CodeSnippets element.

Parent Elements

None.

Example

The following code shows a CodeSnippets element with two CodeSnippet child elements.

<CodeSnippets xmlns="https://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
    <CodeSnippet Format="1.0.0">
        <!-- Insert code snippet information here -->
    </CodeSnippet>
    <CodeSnippet Format="1.0.0">
        <!-- Insert code snippet information here -->
    </CodeSnippet>
</CodeSnippets>

See Also

Concepts

Code Snippets Schema Reference

Change History

Date

History

Reason

July 2008

Fixed sample.

Customer feedback.