ItemEvents_10_BeforeAttachmentPreviewEventHandler 代理人

定義

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

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

パラメーター

Attachment
Attachment

添付ファイル のプレビューを表示します。

Cancel
Boolean

True に設定すると、操作を取り消すそれ以外の場合、 添付ファイル のプレビューを表示するを許可するを False に設定します。

属性

適用対象