Udostępnij za pośrednictwem


IntelliSense Code Snippets in Visual Studio Tools for Office

Visual Studio Tools for Office includes a number of customizable IntelliSense code snippets that provide code specific to Microsoft Office projects. IntelliSense code snippets are pieces of code that are ready to be inserted in your application with a few clicks. Each snippet performs a complete programming task. For more information about IntelliSense code snippets, see Visual Basic IntelliSense Code Snippets and Code Snippets (C#).

Snippet Tasks

The snippets include tasks such as the following:

  • Importing content from other documents.

  • Creating tables and PivotTable reports.

  • Importing and exporting data.

  • Manipulating actions panes.

  • Working with cached data.

  • Formatting documents.

  • Manipulating menus.

  • Creating controls.

See Also

Tasks

How to: Insert Snippets Into Your Code (Visual Basic)

How to: Use Code Snippets (C#)

Troubleshooting Snippets

Concepts

Security Considerations in Using Snippets

Best Practices for Using IntelliSense Code Snippets

Common Tasks in Office Programming

Other Resources

Getting Started (Visual Studio Tools for Office)