Edytuj

Udostępnij za pośrednictwem


InkCanvasStrokeCollectedEventArgs.InvokeEventHandler(Delegate, Object) Method

Definition

Provides a way to invoke event handlers in a type-specific way.

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 event handler.

genericTarget
Object

The event target.

Remarks

When implemented in a derived class, InvokeEventHandler can increase efficiency over the base implementation.

Applies to