DTE2.Quit Method
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.
Closes the Visual Studio environment.
public:
void Quit();
public:
void Quit();
void Quit();
[System.Runtime.InteropServices.DispId(207)]
public void Quit ();
[<System.Runtime.InteropServices.DispId(207)>]
abstract member Quit : unit -> unit
Public Sub Quit ()
Implements
- Attributes
Examples
Sub readyToQuit()
msg = MsgBox("Are you ready to quit Visual Studio?", _
MsgBoxStyle.YesNo)
If msg = MsgBoxResult.Yes Then
Quit()
Else
MsgBox("Continuing...")
End If
End Sub
Remarks
Quit shuts down the integrated development environment (IDE), but not the operating system.