共用方式為


ProjectsEvents Interface

Definition

The base interface from which the various projects derive the events that are associated with their specific project interfaces. Use this object for functionality, and refer to ProjectsEventsClass for this object's documentation.

public interface class ProjectsEvents : EnvDTE::_dispProjectsEvents_Event, EnvDTE::_ProjectsEvents
public interface class ProjectsEvents : EnvDTE::_dispProjectsEvents_Event, EnvDTE::_ProjectsEvents
__interface ProjectsEvents : EnvDTE::_dispProjectsEvents_Event, EnvDTE::_ProjectsEvents
[System.Runtime.InteropServices.CoClass(typeof(EnvDTE.ProjectsEventsClass))]
[System.Runtime.InteropServices.Guid("85451F83-B5CA-437F-A619-0CB705707420")]
public interface ProjectsEvents : EnvDTE._dispProjectsEvents_Event, EnvDTE._ProjectsEvents
[System.Runtime.InteropServices.CoClass(typeof(EnvDTE.ProjectsEventsClass))]
[System.Runtime.InteropServices.Guid("85451F83-B5CA-437F-A619-0CB705707420")]
[System.Runtime.InteropServices.ComVisible(false)]
public interface ProjectsEvents : EnvDTE._dispProjectsEvents_Event, EnvDTE._ProjectsEvents
[<System.Runtime.InteropServices.CoClass(typeof(EnvDTE.ProjectsEventsClass))>]
[<System.Runtime.InteropServices.Guid("85451F83-B5CA-437F-A619-0CB705707420")>]
type ProjectsEvents = interface
    interface _ProjectsEvents
    interface _dispProjectsEvents_Event
[<System.Runtime.InteropServices.CoClass(typeof(EnvDTE.ProjectsEventsClass))>]
[<System.Runtime.InteropServices.Guid("85451F83-B5CA-437F-A619-0CB705707420")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type ProjectsEvents = interface
    interface _ProjectsEvents
    interface _dispProjectsEvents_Event
Public Interface ProjectsEvents
Implements _dispProjectsEvents_Event, _ProjectsEvents
Derived
Attributes
Implements

Remarks

A derivative of ProjectsEvents is supplied by each project type in Visual Studio that contributes a project automation model. The name reflects the project type, such as VBProjectsEvents. These language-specific objects, based on ProjectsEvents, act as a source for common events.

Methods

add_ItemAdded(_dispProjectsEvents_ItemAddedEventHandler) (Inherited from _dispProjectsEvents_Event)
add_ItemRemoved(_dispProjectsEvents_ItemRemovedEventHandler) (Inherited from _dispProjectsEvents_Event)
add_ItemRenamed(_dispProjectsEvents_ItemRenamedEventHandler) (Inherited from _dispProjectsEvents_Event)
remove_ItemAdded(_dispProjectsEvents_ItemAddedEventHandler) (Inherited from _dispProjectsEvents_Event)
remove_ItemRemoved(_dispProjectsEvents_ItemRemovedEventHandler) (Inherited from _dispProjectsEvents_Event)
remove_ItemRenamed(_dispProjectsEvents_ItemRenamedEventHandler) (Inherited from _dispProjectsEvents_Event)

Events

ItemAdded

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

Microsoft Internal Use Only.

(Inherited from _dispProjectsEvents_Event)
ItemRemoved

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

Microsoft Internal Use Only.

(Inherited from _dispProjectsEvents_Event)
ItemRenamed

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

Microsoft Internal Use Only.

(Inherited from _dispProjectsEvents_Event)

Applies to