共用方式為


ProjectsEventsClass Class

Definition

Microsoft Internal Use Only.

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

public ref class ProjectsEventsClass : EnvDTE::ProjectsEvents
public ref class ProjectsEventsClass
[Windows::Foundation::Metadata::WebHostHidden]
class ProjectsEventsClass : EnvDTE::ProjectsEvents
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispProjectsEvents\0")]
[System.Runtime.InteropServices.Guid("536A4BE3-A376-408E-954C-471C779E216F")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class ProjectsEventsClass : EnvDTE.ProjectsEvents
[System.Runtime.InteropServices.Guid("536A4BE3-A376-408E-954C-471C779E216F")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispProjectsEvents")]
[System.Runtime.InteropServices.ComVisible(false)]
public class ProjectsEventsClass
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispProjectsEvents\0")>]
[<System.Runtime.InteropServices.Guid("536A4BE3-A376-408E-954C-471C779E216F")>]
[<System.Runtime.InteropServices.TypeLibType(2)>]
type ProjectsEventsClass = class
    interface _ProjectsEvents
    interface ProjectsEvents
    interface _dispProjectsEvents_Event
[<System.Runtime.InteropServices.Guid("536A4BE3-A376-408E-954C-471C779E216F")>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispProjectsEvents")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type ProjectsEventsClass = class
Public Class ProjectsEventsClass
Implements ProjectsEvents
Public Class ProjectsEventsClass
Inheritance
ProjectsEventsClass
Attributes
Implements

Remarks

Refer to ProjectsEvents for this functionality. Do not instantiate this class.

Constructors

ProjectsEventsClass()

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

Microsoft Internal Use Only.

Methods

add_ItemAdded(_dispProjectsEvents_ItemAddedEventHandler)
add_ItemRemoved(_dispProjectsEvents_ItemRemovedEventHandler)
add_ItemRenamed(_dispProjectsEvents_ItemRenamedEventHandler)
remove_ItemAdded(_dispProjectsEvents_ItemAddedEventHandler)
remove_ItemRemoved(_dispProjectsEvents_ItemRemovedEventHandler)
remove_ItemRenamed(_dispProjectsEvents_ItemRenamedEventHandler)

Events

ItemAdded

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

Occurs immediately after you add a project to a solution or an item to a project.

ItemRemoved

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

Occurs immediately after you remove a project from a solution or a project item from a project.

ItemRenamed

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

Occurs immediately after you rename a project in a solution or a project item in a project.

Applies to