RibbonDismissPopupEventArgs.InvokeEventHandler(Delegate, Object) 方法

定义

在指定对象上调用指定的事件处理程序。Invokes the specified event handler on the specified object.

protected:
 override void InvokeEventHandler(Delegate ^ genericHandler, System::Object ^ genericTarget);
protected override void InvokeEventHandler (Delegate genericHandler, object genericTarget);
override this.InvokeEventHandler : Delegate * obj -> unit
Protected Overrides Sub InvokeEventHandler (genericHandler As Delegate, genericTarget As Object)

参数

genericHandler
Delegate

要调用的事件处理程序。The event handler to invoke.

genericTarget
Object

要对其调用处理程序的目标。The target on which the handler is invoked.

注解

此实现将泛型处理程序强制转换为 RibbonDismissPopupEventHandler 实例并调用它。This implementation casts the generic handler to a RibbonDismissPopupEventHandler instance and invokes it.

适用于