Creating Code Snippets Home
This page is specific to:.NET Framework Version:2.03.54.0
Visual Studio
Creating Code Snippets

IntelliSense Code Snippets are stored in XML files that adhere to the IntelliSense Code Snippets XML schema. This section contains topics that explain how to create and modify your own code snippets.

In This Section

How to: Create a Basic Code Snippet

Describes how to create a simple code snippet.

How to: Create a New Snippet with Imports and References

Explains how to add Imports and References elements to Visual Basic code snippets.

How to: Create a New Snippet with Replacements

Explains how to add customizable literals and objects to code snippets.

How to: Create Code Snippets for XML Files

Explains how to create a code snippet for XML files.

See Also

Reference

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View