ISmartTagExtension Interface

 

Represents an extension of a smart tag in a Word document that is customized by using the Office development tools in Visual Studio. The extension defines a custom recognizer for the smart tag.

Namespace:   Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

[GuidAttribute("B4244E14-AB13-432F-8D7B-70BBA2A3EA67")]
public interface ISmartTagExtension : IExtension

NameDescription
System_CAPS_pubpropertyExtensionBase

Gets the object that is being extended by this IExtension.(Inherited from IExtension.)

NameDescription
System_CAPS_pubmethodRecognize(String, ISmartTagRecognizerSite, ISmartTagTokenList, SmartTagRecognizeContext)

Searches text in the document 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 Word recognizes smart tags in documents.

This type is intended to be used only in projects for Word 2007. Smart tags are deprecated in Word 2010.

To view a code example, see the Microsoft Visual Studio 2008/.NET Framework 3.5 version of this topic.

Return to top
Show: