IVsUpdateSolutionEvents::OnActiveProjectCfgChange Method (IVsHierarchy^)
Visual Studio 2015
Called when the active project configuration for a project in the solution has changed.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pIVsHierarchy
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^
[in] Pointer to an IVsHierarchy object.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsUpdateSolutionEvents::OnActiveProjectCfgChange(
[in] IVsHierarchy *pIVsHierarchy
);
The OnActiveProjectCfgChange event is fired after the active project configuration for a project in the solution has been changed. If null is passed for pIVsHierarchy, sinks for this event have to assume that every project in the solution may have changed, even if there is only one project active in the solution.
Show: