Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
OnBeforeCloseSolution Method

IVsSolutionEvents.OnBeforeCloseSolution Method

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

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

int OnBeforeCloseSolution (
	[InAttribute] Object pUnkReserved
)
int OnBeforeCloseSolution (
	/** @attribute InAttribute() */ Object pUnkReserved
)
function OnBeforeCloseSolution (
	pUnkReserved : Object
) : int

Parameters

pUnkReserved

[in] Reserved for future use.

Return Value

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

COM Signature

From vsshell.idl:

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

Community Additions

ADD
Show:
© 2015 Microsoft