Dela via


DTEEventsClass.OnStartupComplete Event

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Occurs when the environment has completed initializing.

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

Syntax

'Declaration
Public Overridable Event OnStartupComplete As _dispDTEEvents_OnStartupCompleteEventHandler
public virtual event _dispDTEEvents_OnStartupCompleteEventHandler OnStartupComplete
public:
virtual  event _dispDTEEvents_OnStartupCompleteEventHandler^ OnStartupComplete {
    void add (_dispDTEEvents_OnStartupCompleteEventHandler^ value);
    void remove (_dispDTEEvents_OnStartupCompleteEventHandler^ value);
}
abstract OnStartupComplete : IEvent<_dispDTEEvents_OnStartupCompleteEventHandler,
    EventArgs>
override OnStartupComplete : IEvent<_dispDTEEvents_OnStartupCompleteEventHandler,
    EventArgs>
JScript does not support events.

Implements

_dispDTEEvents_Event.OnStartupComplete

Remarks

All Add-ins must implement this method. OnStartupComplete allows you to install user interface elements. Add-ins can use either this event or the OnStartupComplete method.

Examples

Public Sub DTEEvents_OnStartupComplete() Handles DTEEvents.OnStartupComplete
    MsgBox("Visual Studio startup is complete.")
End Sub

.NET Framework Security

See Also

Reference

DTEEventsClass Class

EnvDTE Namespace