StartupNextInstanceEventArgs.BringToForeground Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.