Visual Basic IntelliSense Code Snippets

Visual Basic includes a code library consisting of several hundred pieces of code, called IntelliSense code snippets, that are ready to be inserted in your application. Each snippet performs a complete programming task such as creating a custom exception, sending an e-mail message, or drawing a circle. You can insert a snippet into your source code with a few mouse clicks. For more information, see How to: Insert Snippets Into Your Code (Visual Basic). You can also create your own snippets that suit your business needs, add them to the library, and then use them when needed. For more information, see Creating and Using IntelliSense Code Snippets.

These snippets increase your productivity by reducing the amount of time you spend looking for code samples, by reducing the time required to learn to use an unfamiliar feature, and by supporting the reuse of code.