Outlook) (Action 物件

代表可在 Outlook 項目上執行的特殊動作 (例如,投票選項回應)。

註解

Action物件是Actions集合的成員。

使用Actions (index) ,其中index是可用動作的名稱,可從 Outlook 專案的Actions 集合物件傳回單一Action物件,例如MailItem

範例

下列 Visual Basic for Applications (VBA) 範例使用特定項目的 Reply 動作來傳送回覆。

myItem = CreateItem(olMailItem) 
 
Set myReply = myItem.Actions("Reply").Execute

以下 Visual Basic for Applications 範例使用不同的回覆方法完成同樣的回覆工作。

myItem = CreateItem(olMailItem) 
 
myItem.Actions("Reply").ReplyStyle = _ 
 
 olIncludeOriginalText 
 
Set myReply = myItem.Actions("Reply").Execute

方法

名稱
Delete
執行

屬性

名稱
Application
Class
CopyLike
Enabled
MessageClass
Name
Parent
Prefix
ReplyStyle
ResponseStyle
Session
ShowOn

另請參閱

Action 物件成員Outlook 物件模型參考

支援和意見反應

有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應