OutlookBarShortcutsEvents_BeforeShortcutRemoveEventHandler 委托

定义

这是针对相应对象中的事件的委派。 在对事件实现回调方法后,使用此委派将回调方法连接到该事件。 如果存在多个版本的事件接口,此委派将为指定版本的 Outlook 中的事件连接回调方法。

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

参数

Shortcut
OutlookBarShortcut

正在删除 快捷

Cancel
Boolean

的事件发生时。 如果事件过程将此参数设置为 True ,将不从组中删除该快捷方式。

属性

适用于