Partilhar via


Evento WindowEventsClass.WindowCreated

Essa API oferece suporte à infra-estrutura do .NET Framework e não se destina a ser usado diretamente em seu código.

Ocorre quando um Novo Janela é criado.

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

Sintaxe

Public Overridable Event WindowCreated As _dispWindowEvents_WindowCreatedEventHandler

Dim instance As WindowEventsClass
Dim handler As _dispWindowEvents_WindowCreatedEventHandler

AddHandler instance.WindowCreated, handler
public virtual event _dispWindowEvents_WindowCreatedEventHandler WindowCreated
public:
virtual  event _dispWindowEvents_WindowCreatedEventHandler^ WindowCreated {
    void add (_dispWindowEvents_WindowCreatedEventHandler^ value);
    void remove (_dispWindowEvents_WindowCreatedEventHandler^ value);
}
O JScript não oferece suporte a eventos.

Implementa

_dispWindowEvents_Event.WindowCreated

Exemplos

Public Sub WindowEvents_WindowCreated(ByVal Window As EnvDTE.Window) Handles WindowEvents.WindowCreated
   MsgBox("test")
End Sub

Permissões

Consulte também

Referência

WindowEventsClass Classe

WindowEventsClass Membros

Espaço para nome EnvDTE