Visual Studio Tools for Office: Using Visual Basic 2005 with Excel, Word, Outlook, and InfoPath

This chapter examined VSTO's support for document-level Smart Tags. VSTO provides a simple way to get started by using terms and actions. VSTO also supports more powerful techniques, including support for regular expressions and support for multiple actions, as well as the ability to create your own custom Smart Tag classes.

This chapter also covered how to build an application-level Smart Tag by creating a class library project and a class that implements ISmartTagRecognizer, along with a class that implements ISmartTagAction. You have learned how to register an application-level Smart Tag in the registry and how to configure .NET 1.1 security policy so the Smart Tag will run. For more information about .NET security and VSTO, see Chapter 19, ".NET Code Security."

Категории