DTE2.Quit DTE2.Quit DTE2.Quit DTE2.Quit DTE2.Quit DTE2.Quit Method

Definition

Closes the Visual Studio environment.

public:
 void Quit();
public:
 void Quit();
void Quit();
[System.Runtime.InteropServices.DispId(207)]
public void Quit ();
abstract member Quit : unit -> unit
Public Sub Quit ()
Implements

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.

Applies to