編輯

共用方式為


DataTransferEventArgs.InvokeEventHandler(Delegate, Object) Method

Definition

Invokes the specified handler in a type-specific way 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)

Parameters

genericHandler
Delegate

The generic handler to call in a type-specific way.

genericTarget
Object

The object to invoke the handler on.

Applies to