WindowEventsClass.WindowCreated Olay
Bu API, .NET Framework altyapısını destekler ve doğrudan kodunuzdan kullanılmaya yönelik değildir.
Yeni bir pencere oluşturulduğunda gerçekleşir.
Ad alanı: EnvDTE
Derleme: EnvDTE (EnvDTE.dll içinde)
Sözdizimi
'Bildirim
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 olayları desteklemez.
Yüklenen
_dispWindowEvents_Event.WindowCreated
Örnekler
Public Sub WindowEvents_WindowCreated(ByVal Window As EnvDTE.Window) Handles WindowEvents.WindowCreated
MsgBox("test")
End Sub
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. Kısmen güvenilen kod kitaplıklarını kullanma.