This documentation is archived and is not being maintained.

IVsSolutionEvents.OnAfterOpenSolution Method

Notifies listening clients that the solution has been opened.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in

int OnAfterOpenSolution (
	[InAttribute] Object pUnkReserved,
	[InAttribute] int fNewSolution
int OnAfterOpenSolution (
	/** @attribute InAttribute() */ Object pUnkReserved, 
	/** @attribute InAttribute() */ int fNewSolution
function OnAfterOpenSolution (
	pUnkReserved : Object, 
	fNewSolution : int
) : int



[in] Reserved for future use.


[in] true if the solution is being created. false if the solution was created previously or is being loaded.

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::OnAfterOpenSolution(
   [in] IUnknown *pUnkReserved,
   [in] BOOL fNewSolution