OnBeforeCloseSolution Method
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

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



[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
© 2015 Microsoft