Udostępnij za pośrednictwem


ActionBase Class (2007 System)

Provides the base class for smart tag actions in Visual Studio Tools for Office solutions for Microsoft Office Word and Microsoft Office Excel. 

Namespace:  Microsoft.Office.Tools
Assembly:  Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)

Syntax

'Declaration
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public Class ActionBase
'Usage
Dim instance As ActionBase
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class ActionBase
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public ref class ActionBase
public class ActionBase

Remarks

Actions are the choices available on the smart tag shortcut menu when a smart tag is recognized. For example, "Add name to the Contacts folder" would be one possible action for a string of type Person's Name.

To define a smart tag action in Visual Studio Tools for Office solutions for Word and Excel, use the derived Microsoft.Office.Tools.Word.Action and Microsoft.Office.Tools.Excel.Action classes. For more information, see Smart Tags Overview.

Inheritance Hierarchy

System.Object
  Microsoft.Office.Tools.ActionBase
    Microsoft.Office.Tools.Excel.Action
    Microsoft.Office.Tools.Word.Action

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ActionBase Members

Microsoft.Office.Tools Namespace

Other Resources

Smart Tags Overview