Code SnippetsIntelliSense Code Snippets are reusable, task-oriented blocks of code. Visual Basic 2005 includes over 500 code snippets in the box covering tasks ranging from creating a custom exception, to sending an e-mail message, to drawing a circle. Code snippets can also be used for simple expansions of common programming structures. The code snippets are formatted to automatically include the references they require, and contain replacement fields to allow easy customization. In addition to the 500 prewritten pieces of code included in-the-box, the Intellisense code snippet library is also extensible. This allows you to create new code snippets that suit your business needs, edit the ones that already exist, or download from third-party vendors and community sites. The code snippet editor is a tool you can use to help create your own snippets. Download the code snippet editor for Visual Basic 2005. To insert a snippet, right-click in the code editor and select Insert Snippet from the menu, or use the keyboard shortcut (?+Tab). You can also use the Code Snippet Manager to view the full set of snippets that get installed with Visual Basic 2005. The Code Snippet Manager is found in the Tools menu. Visual Basic Code SnippetsVisual Basic ships with hundreds of code snippets in the following categories. We will be adding additional code snippets at this site in these categories and more in the coming months.
|
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.