ContactItem.BeforeAttachmentWriteToTempFile 事件 (Outlook)

會在與父物件的例項關聯的附件寫入暫存檔之前發生。

語法

expressionBeforeAttachmentWriteToTempFile( _Attachment_ , _Cancel_ )

表達 代表 ContactItem 物件的 變數。

參數

名稱 必要/選用 資料類型 描述
Attachment 必要 Attachment 要寫入的 Attachment
Cancel 必要 布林值 設定為 True 可取消作業,否則要設定為 False 來允許寫入 Attachment

另請參閱

ContactItem 物件

支援和意見反應

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