Share via


Code Snippets Schema Reference

Provides a table of all of the IntelliSense Code Snippet XML schema elements with their available attributes and child elements.

IntelliSense Code Snippets are pre-authored pieces of code that are ready to be inserted into your application with Visual Studio 2005. These code snippets increase productivity by reducing the amount of time spent typing repetitive code or searching for samples. You can use the IntelliSense Code Snippet XML schema to create your own Visual Basic, Visual C#, or XML code snippets and add them to the code snippets that Visual Studio 2005 already includes.

IntelliSense Code Snippets Schema Elements

The following table lists all of the IntelliSense Code Snippets XML schema elements along with their child elements and attributes.

Element

Child Elements

Attributes

Assembly

--

--

Author

--

--

Code

--

Delimiter

Kind

Language

CodeSnippet

Header

Snippet

Format

CodeSnippets

CodeSnippets

--

Declarations

Literal

Object

--

Default

--

--

Description

--

--

Function

--

--

Header

Author

Description

HelpUrl

Keywords

Shortcut

SnippetTypes

Title

--

HelpUrl

--

--

ID

--

--

Import

Namespace

--

Imports

Import

--

Keyword

--

--

Keywords

Keyword

--

Literal

Default

Function

ID

Type

ToolTip

Editable

Namespace

--

--

Object

Default

Function

ID

Type

ToolTip

Editable

Reference

Assembly

Url

--

References

Reference

--

Shortcut

--

--

Snippet

Code

Declarations

Imports

References

--

SnippetType

--

--

SnippetTypes

SnippetType

--

Title

--

--

ToolTip

--

--

Type

--

--

Url

--

--

See Also

Reference

Creating and Using IntelliSense Code Snippets

Other Resources

Visual Studio XML Reference