Bagikan melalui


How to: Insert IntelliSense Code Snippets

You can insert IntelliSense Code Snippets using the Code Snippet Picker or typing the shortcut name of the snippet and pressing Tab.

Note

In Visual Basic projects, you can type the first few letters of the shortcut name followed by a question mark (?), and press TAB to see a list of all snippet shortcuts that begin with those letters.

Note

In Visual C# projects, code snippet shortcut names appear in the IntelliSense list box.

Each Visual Studio language has slight differences in the way you insert code snippets. For information on inserting snippets in Visual Basic, see How to: Insert Snippets Into Your Code (Visual Basic). For information on inserting snippets in Visual J# and Visual C#, see How to: Use Code Snippets (C#).

See Also

Reference

Code Snippet Picker

Creating and Using IntelliSense Code Snippets