SmartTagBase Interface
Defines shared functionality for smart tags in Office solutions for Word and Excel.
Namespace: Microsoft.Office.Tools
Assemblies: Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
Syntax
'Declaration
<GuidAttribute("1307c5bf-7322-4300-91a9-48393a86ea81")> _
Public Interface SmartTagBase
[GuidAttribute("1307c5bf-7322-4300-91a9-48393a86ea81")]
public interface SmartTagBase
The SmartTagBase type exposes the following members.
Properties
Name | Description | |
---|---|---|
Actions | Gets or sets an array of actions that are exposed by the smart tag. 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. . |
|
Caption | Gets the name of the smart tag. 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. . |
|
Expressions | Gets the collection of regular expressions that the smart tag will recognize. 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. . |
|
SmartTagType | Gets a namespace that acts as a unique identifier for the smart tag. 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. . |
|
Terms | Gets the collection of string literals that the smart tag will recognize. 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
Methods
Name | Description | |
---|---|---|
Remove | Removes a regular expression recognizer from the smart tag. 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
SmartTagBase is the base interface for Microsoft.Office.Tools.Excel.SmartTag and Microsoft.Office.Tools.Word.SmartTag. To create a smart tag in an Office solution for Word or Excel, use the Globals.Factory.CreateSmartTag method to create a Microsoft.Office.Tools.Excel.SmartTag or Microsoft.Office.Tools.Word.SmartTag object.
Note
This interface is implemented by the Visual Studio Tools for Office runtime. It is not intended to be implemented in your code. For more information, see Visual Studio Tools for Office Runtime Overview.
Usage
This type is intended to be used only in projects for Excel 2007 and Word 2007. Smart tags are deprecated in Excel 2010 and Word 2010.
This documentation describes the version of this type that is used in Office projects that target the .NET Framework 4 and the .NET Framework 4.5. In projects that target the .NET Framework 3.5, this type might have different members and the code examples provided for this type might not work. For documentation about this type in projects that target the .NET Framework 3.5, see the following reference section in the Visual Studio 2008 documentation: https://go.microsoft.com/fwlink/?LinkId=160658.