共用方式為


IVsSolutionEvents Members

Include Protected Members
Include Inherited Members

Listening interface that monitors any notifications of changes to the solution.

The IVsSolutionEvents type exposes the following members.

Methods

  Name Description
Public method OnAfterCloseSolution Notifies listening clients that a solution has been closed.
Public method OnAfterLoadProject Notifies listening clients that the project has been loaded.
Public method OnAfterOpenProject Notifies listening clients that the project has been opened.
Public method OnAfterOpenSolution Notifies listening clients that the solution has been opened.
Public method OnBeforeCloseProject Notifies listening clients that the project is about to be closed.
Public method OnBeforeCloseSolution Notifies listening clients that the solution is about to be closed.
Public method OnBeforeUnloadProject Notifies listening clients that the project is about to be unloaded.
Public method OnQueryCloseProject Queries listening clients as to whether the project can be closed.
Public method OnQueryCloseSolution
Public method OnQueryUnloadProject Queries listening clients as to whether the project can be unloaded.

Top

See Also

Reference

IVsSolutionEvents Interface

Microsoft.VisualStudio.Shell.Interop Namespace