Udostępnij za pośrednictwem


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
'Usage
Dim instance As DTEEventsClass 
Dim handler As _dispDTEEvents_OnStartupCompleteEventHandler 

AddHandler instance.OnStartupComplete, handler
public virtual event _dispDTEEvents_OnStartupCompleteEventHandler OnStartupComplete
public:
virtual   event _dispDTEEvents_OnStartupCompleteEventHandler^ OnStartupComplete {
    void add (_dispDTEEvents_OnStartupCompleteEventHandler^ value);
    void remove (_dispDTEEvents_OnStartupCompleteEventHandler^ value);
}
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

DTEEventsClass Members

EnvDTE Namespace