Action Interface
Represents a smart tag action in a Word document that is customized by using the Office development tools in Visual Studio.
Assembly: Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
| Name | Description | |
|---|---|---|
![]() | Caption | Gets or sets the name of the action, as displayed in the smart tag menu. 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. .(Inherited from ActionBase.) |
| Name | Description | |
|---|---|---|
![]() | BeforeCaptionShow | Occurs after the user clicks the smart tags icon, and before the smart tag menu is displayed. 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. . |
![]() | Click | Occurs when the action in the smart tag menu is clicked. 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. . |
Actions are the choices available on the smart tag shortcut menu when a smart tag of a certain type is recognized. To create an action, use the Globals.Factory.CreateAction method to create an Action 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. |
This type is intended to be used only in projects for Word 2007. Smart tags are deprecated in Word 2010..
This documentation describes the version of this type that is used in Office projects that target the .NET Framework 4 or later. 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: http://go.microsoft.com/fwlink/?LinkId=160658.


