This topic has not yet been rated - Rate this topic

IVsSolutionEvents.OnAfterOpenSolution Method

Notifies listening clients that the solution has been opened.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int OnAfterOpenSolution(
	Object pUnkReserved,
	int fNewSolution
)

Parameters

pUnkReserved
Type: System.Object
[in] Reserved for future use.
fNewSolution
Type: System.Int32
[in] true if the solution is being created. false if the solution was created previously or is being loaded.

Return Value

Type: System.Int32
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
);
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ