DTE2.Quit Method ()

 

Closes the Visual Studio environment.

Namespace:   EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

void Quit()

Implements

_DTE.Quit()

Quit shuts down the integrated development environment (IDE), but not the operating system.

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
Return to top
Show: