ActionBase 类 (2007 system)
更新:2007 年 11 月
在 Microsoft Office Word 和 Microsoft Office Excel 的 Visual Studio Tools for Office 解决方案中为智能标记操作提供基类。
命名空间: Microsoft.Office.Tools
程序集: Microsoft.Office.Tools.Common.v9.0(在 Microsoft.Office.Tools.Common.v9.0.dll 中)
语法
声明
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public Class ActionBase
用法
Dim instance As ActionBase
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class ActionBase
备注
操作是指在识别出智能标记时,智能标记快捷菜单中的可用选项。例如,对于“人员的姓名”这类字符串,“将姓名添加到联系人文件夹”将为可能的操作。
若要在 Word 和 Excel 的 Visual Studio Tools for Office 解决方案中定义智能标记操作,请使用派生的 Microsoft.Office.Tools.Word.Action 和 Microsoft.Office.Tools.Excel.Action 类。有关更多信息,请参见智能标记概述。
继承层次结构
System.Object
Microsoft.Office.Tools.ActionBase
Microsoft.Office.Tools.Excel.Action
Microsoft.Office.Tools.Word.Action
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。