共用方式為


SolutionEventsClass 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 SolutionEventsClass : EnvDTE::SolutionEvents
public ref class SolutionEventsClass
[Windows::Foundation::Metadata::WebHostHidden]
class SolutionEventsClass : EnvDTE::SolutionEvents
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispSolutionEvents\0")]
[System.Runtime.InteropServices.Guid("88AC98C7-B38C-404B-BD86-D2A4F2E89DCA")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class SolutionEventsClass : EnvDTE.SolutionEvents
[System.Runtime.InteropServices.Guid("88AC98C7-B38C-404B-BD86-D2A4F2E89DCA")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispSolutionEvents")]
[System.Runtime.InteropServices.ComVisible(false)]
public class SolutionEventsClass
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispSolutionEvents\0")>]
[<System.Runtime.InteropServices.Guid("88AC98C7-B38C-404B-BD86-D2A4F2E89DCA")>]
[<System.Runtime.InteropServices.TypeLibType(2)>]
type SolutionEventsClass = class
    interface _SolutionEvents
    interface SolutionEvents
    interface _dispSolutionEvents_Event
[<System.Runtime.InteropServices.Guid("88AC98C7-B38C-404B-BD86-D2A4F2E89DCA")>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispSolutionEvents")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type SolutionEventsClass = class
Public Class SolutionEventsClass
Implements SolutionEvents
Public Class SolutionEventsClass
Inheritance
SolutionEventsClass
Attributes
Implements

Remarks

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

Constructors

SolutionEventsClass()

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

Microsoft Internal Use Only.

Methods

add_AfterClosing(_dispSolutionEvents_AfterClosingEventHandler)
add_BeforeClosing(_dispSolutionEvents_BeforeClosingEventHandler)
add_Opened(_dispSolutionEvents_OpenedEventHandler)
add_ProjectAdded(_dispSolutionEvents_ProjectAddedEventHandler)
add_ProjectRemoved(_dispSolutionEvents_ProjectRemovedEventHandler)
add_ProjectRenamed(_dispSolutionEvents_ProjectRenamedEventHandler)
add_QueryCloseSolution(_dispSolutionEvents_QueryCloseSolutionEventHandler)
add_Renamed(_dispSolutionEvents_RenamedEventHandler)
remove_AfterClosing(_dispSolutionEvents_AfterClosingEventHandler)
remove_BeforeClosing(_dispSolutionEvents_BeforeClosingEventHandler)
remove_Opened(_dispSolutionEvents_OpenedEventHandler)
remove_ProjectAdded(_dispSolutionEvents_ProjectAddedEventHandler)
remove_ProjectRemoved(_dispSolutionEvents_ProjectRemovedEventHandler)
remove_ProjectRenamed(_dispSolutionEvents_ProjectRenamedEventHandler)
remove_QueryCloseSolution(_dispSolutionEvents_QueryCloseSolutionEventHandler)
remove_Renamed(_dispSolutionEvents_RenamedEventHandler)

Events

AfterClosing

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

Occurs immediately after closing a solution.

BeforeClosing

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

Occurs immediately before closing a solution.

Opened

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

Occurs immediately after opening a solution or project.

ProjectAdded

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

Occurs immediately after adding a project to the solution.

ProjectRemoved

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

Occurs after you remove a project from the solution.

ProjectRenamed

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

Occurs after you rename a project in the solution.

QueryCloseSolution

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

Occurs before the BeforeClosing.

Renamed

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

Occurs after you rename a solution.

Applies to