全部显示

Actions 对象

         
多个对象
Actions

多个对象

Action 对象的集合,这些对象代表可在某个 Outlook 项目上执行的所有特定动作。

使用 Actions 对象

使用 Actions 属性返回任何 Outlook 项目对象的 Actions 对象。

使用 Actions (index) 返回单个 Action 对象。其中 index 是有效动作名称。

以下 Visual Basic for Applications 示例使用特定项目的“答复”动作发送答复。

Set myOlApp = CreateObject("Outlook.Application")
myItem = CreateItem(olMailItem)
Set myReply = myItem.Actions("Reply").Execute