Muokkaa

Jaa


ScrollChangedEventArgs.InvokeEventHandler(Delegate, Object) Method

Definition

Performs proper type casting before invoking the type-safe ScrollChangedEventHandler delegate.

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 to invoke, in this case the ScrollChangedEventHandler delegate.

genericTarget
Object

The target upon which the genericHandler is invoked.

Remarks

If you provide either the genericHandler or genericTarget as a null reference (Nothing in Visual Basic), exceptions are raised.

Applies to