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)

Syntax

'Declaration
<GuidAttribute("B4244E14-AB13-432F-8D7B-70BBA2A3EA67")> _
Public Interface ISmartTagExtension _
    Inherits IExtension
[GuidAttribute("B4244E14-AB13-432F-8D7B-70BBA2A3EA67")]
public interface ISmartTagExtension : IExtension

The ISmartTagExtension type exposes the following members.

Properties

  Name Description
Public property ExtensionBase Gets the object that is being extended by this IExtension. (Inherited from IExtension.)

Top

Methods

  Name Description
Public method Recognize 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.
.

Top

Remarks

Implement the ISmartTagExtension interface if you want to control how Word recognizes smart tags in documents.

Usage

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.

See Also

Reference

Microsoft.Office.Tools.Word Namespace