Редагувати

Поділитися через


StartupNextInstanceEventHandler Delegate

Definition

Represents the method that will handle the My.Application.StartupNextInstance event.

public delegate void StartupNextInstanceEventHandler(System::Object ^ sender, StartupNextInstanceEventArgs ^ e);
public delegate void StartupNextInstanceEventHandler(object sender, StartupNextInstanceEventArgs e);
type StartupNextInstanceEventHandler = delegate of obj * StartupNextInstanceEventArgs -> unit
Public Delegate Sub StartupNextInstanceEventHandler(sender As Object, e As StartupNextInstanceEventArgs)

Parameters

sender
Object

The source of the event.

e
StartupNextInstanceEventArgs

A StartupNextInstanceEventArgs object that contains the event data.

Examples

WindowsFormsApplicationBase.StartupNextInstance

Overview of the Visual Basic Application Model

Remarks

In Visual Basic, you do not need to work with this delegate explicitly. For more information, see StartupNextInstance.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to