共用方式為


SolutionEvents.IVsSolutionEvents2.OnBeforeCloseSolution(Object) Method

Definition

Occurs on/before the solution is closed.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnBeforeCloseSolution(System::Object ^ pUnkReserved) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents2::OnBeforeCloseSolution;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnBeforeCloseSolution(Platform::Object ^ pUnkReserved) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents2::OnBeforeCloseSolution;
int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnBeforeCloseSolution(winrt::Windows::Foundation::IInspectable const & pUnkReserved);
int IVsSolutionEvents2.OnBeforeCloseSolution (object pUnkReserved);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnBeforeCloseSolution : obj -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnBeforeCloseSolution : obj -> int
Function OnBeforeCloseSolution (pUnkReserved As Object) As Integer Implements IVsSolutionEvents2.OnBeforeCloseSolution

Parameters

pUnkReserved
Object

Reserved.

Returns

The HRESULT.

Implements

Applies to