Breyta

Deila með


StartupNextInstanceEventArgs.BringToForeground Property

Definition

Indicates whether the first application instance should be brought to the foreground upon exiting the exception handler.

public:
 property bool BringToForeground { bool get(); void set(bool value); };
public bool BringToForeground { get; set; }
member this.BringToForeground : bool with get, set
Public Property BringToForeground As Boolean

Property Value

A Boolean that indicates whether the first application instance should be brought to the foreground upon exiting the exception handler.

Remarks

The Visual Basic Application Model checks the value of this property after running the handlers of the StartupNextInstance event. If the BringToForeground property is True, the first application instance is brought to the foreground. Otherwise, the first application instance remains where it was. For more information, see Overview of the Visual Basic Application Model.

Applies to

See also