ISmartTagExtension Interface
Represents an extension of a smart tag in an Excel worksheet that is customized by using Office development tools in Visual Studio. The extension defines a custom recognizer for the smart tag.
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
| Name | Description | |
|---|---|---|
![]() | ExtensionBase | Gets the object that is being extended by this IExtension.(Inherited from IExtension.) |
| Name | Description | |
|---|---|---|
![]() | Recognize(String^, ISmartTagRecognizerSite^, ISmartTagTokenList^, SmartTagRecognizeContext^) | Searches text in the cell for recognized terms. This type or member is intended to be used only in projects for the 2007 Microsoft Office system. Smart tags are deprecated in Office 2010. . |
Implement the ISmartTagExtension interface if you want to control how Excel recognizes smart tags in worksheets.
This type is intended to be used only in projects for Excel 2007. Smart tags are deprecated in Excel 2010.
The following code example demonstrates how to implement ISmartTagExtension to create your own smart tag recognizer. The example implements the Recognize method to recognize each smart tag term found in a cell. This example assumes that you have added a reference to Microsoft.Office.Interop.SmartTag from the .NET tab of the Add Reference dialog box.

