共用方式為


DTEEvents Interface

Definition

Provides events relating to the state of the environment. Use this object for functionality and refer to DTEEventsClass for this object's documentation.

public interface class DTEEvents : EnvDTE::_dispDTEEvents_Event, EnvDTE::_DTEEvents
public interface class DTEEvents : EnvDTE::_dispDTEEvents_Event
public interface class DTEEvents : EnvDTE::_dispDTEEvents_Event, EnvDTE::_DTEEvents
__interface DTEEvents : EnvDTE::_dispDTEEvents_Event, EnvDTE::_DTEEvents
[System.Runtime.InteropServices.CoClass(typeof(EnvDTE.DTEEventsClass))]
[System.Runtime.InteropServices.Guid("FA1BB6D7-CA83-11D2-AAB2-00C04F688DDE")]
public interface DTEEvents : EnvDTE._dispDTEEvents_Event, EnvDTE._DTEEvents
[System.Runtime.InteropServices.CoClass(typeof(EnvDTE.DTEEventsClass))]
[System.Runtime.InteropServices.Guid("FA1BB6D7-CA83-11D2-AAB2-00C04F688DDE")]
[System.Runtime.InteropServices.ComVisible(false)]
public interface DTEEvents : EnvDTE._dispDTEEvents_Event
[<System.Runtime.InteropServices.CoClass(typeof(EnvDTE.DTEEventsClass))>]
[<System.Runtime.InteropServices.Guid("FA1BB6D7-CA83-11D2-AAB2-00C04F688DDE")>]
type DTEEvents = interface
    interface _DTEEvents
    interface _dispDTEEvents_Event
[<System.Runtime.InteropServices.CoClass(typeof(EnvDTE.DTEEventsClass))>]
[<System.Runtime.InteropServices.Guid("FA1BB6D7-CA83-11D2-AAB2-00C04F688DDE")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type DTEEvents = interface
    interface _dispDTEEvents_Event
Public Interface DTEEvents
Implements _dispDTEEvents_Event, _DTEEvents
Public Interface DTEEvents
Implements _dispDTEEvents_Event
Derived
Attributes
Implements

Remarks

The DTEEvents object is returned by DTE.Events.

Methods

add_ModeChanged(_dispDTEEvents_ModeChangedEventHandler) (Inherited from _dispDTEEvents_Event)
add_OnBeginShutdown(_dispDTEEvents_OnBeginShutdownEventHandler) (Inherited from _dispDTEEvents_Event)
add_OnMacrosRuntimeReset(_dispDTEEvents_OnMacrosRuntimeResetEventHandler) (Inherited from _dispDTEEvents_Event)
add_OnStartupComplete(_dispDTEEvents_OnStartupCompleteEventHandler) (Inherited from _dispDTEEvents_Event)
remove_ModeChanged(_dispDTEEvents_ModeChangedEventHandler) (Inherited from _dispDTEEvents_Event)
remove_OnBeginShutdown(_dispDTEEvents_OnBeginShutdownEventHandler) (Inherited from _dispDTEEvents_Event)
remove_OnMacrosRuntimeReset(_dispDTEEvents_OnMacrosRuntimeResetEventHandler) (Inherited from _dispDTEEvents_Event)
remove_OnStartupComplete(_dispDTEEvents_OnStartupCompleteEventHandler) (Inherited from _dispDTEEvents_Event)

Events

ModeChanged

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

Microsoft Internal Use Only.

(Inherited from _dispDTEEvents_Event)
OnBeginShutdown

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

Microsoft Internal Use Only.

(Inherited from _dispDTEEvents_Event)
OnMacrosRuntimeReset

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

Microsoft Internal Use Only.

(Inherited from _dispDTEEvents_Event)
OnStartupComplete

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

Microsoft Internal Use Only.

(Inherited from _dispDTEEvents_Event)

Applies to