ItemEvents_10_BeforeAttachmentAddEventHandler 代理人

定義

これは、対応するオブジェクト内のイベントの委任です。 イベントのコールバック メソッドを実装した後、この委任を使用して、コールバック メソッドをイベントに接続します。 イベント インターフェイスのバージョンが複数ある場合、この委任は、イベントのコールバック メソッドを、指定されたバージョンの Outlook に接続します。

public delegate void ItemEvents_10_BeforeAttachmentAddEventHandler(Attachment ^ Attachment, [Runtime::InteropServices::Out] bool % Cancel);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void ItemEvents_10_BeforeAttachmentAddEventHandler(Attachment Attachment, out bool Cancel);
Public Delegate Sub ItemEvents_10_BeforeAttachmentAddEventHandler(Attachment As Attachment, ByRef Cancel As Boolean)

パラメーター

Attachment
Attachment

アイテムに追加する 添付ファイル

Cancel
Boolean

True に設定すると、操作を取り消すそれ以外の場合、 False に設定を追加する 添付ファイル を許可します。

属性

適用対象