次の方法で共有


IVsSolutionEvents.OnBeforeCloseSolution(Object) Method

Definition

Notifies listening clients that the solution is about to be closed.

public:
 int OnBeforeCloseSolution(System::Object ^ pUnkReserved);
public:
 int OnBeforeCloseSolution(Platform::Object ^ pUnkReserved);
int OnBeforeCloseSolution(winrt::Windows::Foundation::IInspectable const & pUnkReserved);
public int OnBeforeCloseSolution (object pUnkReserved);
abstract member OnBeforeCloseSolution : obj -> int
Public Function OnBeforeCloseSolution (pUnkReserved As Object) As Integer

Parameters

pUnkReserved
Object

[in] Reserved for future use.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsSolutionEvents::OnBeforeCloseSolution(  
   [in] IUnknown *pUnkReserved  
);  

Applies to