共用方式為


SolutionEvents.OnQueryCloseProject Event

Definition

Occurs when there is a query about closing the project.

public:
 static event EventHandler<Microsoft::VisualStudio::Shell::Events::QueryCloseProjectEventArgs ^> ^ OnQueryCloseProject;
public static event EventHandler<Microsoft.VisualStudio.Shell.Events.QueryCloseProjectEventArgs> OnQueryCloseProject;
member this.OnQueryCloseProject : EventHandler<Microsoft.VisualStudio.Shell.Events.QueryCloseProjectEventArgs> 
Public Shared Custom Event OnQueryCloseProject As EventHandler(Of QueryCloseProjectEventArgs) 

Event Type

Applies to