Compartilhar via


Método DTE2.Quit

Fecha o Visual Studio ambiente.

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

Sintaxe

'Declaração
Sub Quit
void Quit()
void Quit()
abstract Quit : unit -> unit
function Quit()

Comentários

Quitdesliga o ambiente de desenvolvimento integrado (IDE), mas não o sistema operacional.

Exemplos

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

Segurança do .NET Framework

Consulte também

Referência

DTE2 Interface

Namespace EnvDTE80