Freigeben über


WindowEventsClass.WindowCreated-Ereignis

Diese API unterstützt die .NET Framework-Infrastruktur und ist nicht für die direkte Verwendung in Code bestimmt.

Tritt beim Erstellen eines neuen Fensters ein.

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

Syntax

'Declaration
Public Overridable Event WindowCreated As _dispWindowEvents_WindowCreatedEventHandler
public virtual event _dispWindowEvents_WindowCreatedEventHandler WindowCreated
public:
virtual  event _dispWindowEvents_WindowCreatedEventHandler^ WindowCreated {
    void add (_dispWindowEvents_WindowCreatedEventHandler^ value);
    void remove (_dispWindowEvents_WindowCreatedEventHandler^ value);
}
abstract WindowCreated : IEvent<_dispWindowEvents_WindowCreatedEventHandler,
    EventArgs>
override WindowCreated : IEvent<_dispWindowEvents_WindowCreatedEventHandler,
    EventArgs>
JScript unterstützt keine Ereignisse.

Implementiert

_dispWindowEvents_Event.WindowCreated

Beispiele

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

.NET Framework-Sicherheit

Siehe auch

Referenz

WindowEventsClass Klasse

EnvDTE-Namespace