IVsUpdateSolutionEvents3::OnBeforeActiveSolutionCfgChange Method (IVsCfg^, IVsCfg^)

 

Fired before the active solution configuration is changed.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int OnBeforeActiveSolutionCfgChange(
	IVsCfg^ pOldActiveSlnCfg,
	IVsCfg^ pNewActiveSlnCfg
)

Parameters

pOldActiveSlnCfg
Type: Microsoft.VisualStudio.Shell.Interop::IVsCfg^

[in] The active solution configuration that is to be changed. This parameter can be null.

pNewActiveSlnCfg
Type: Microsoft.VisualStudio.Shell.Interop::IVsCfg^

[in] The new active solution configuration.

Return Value

Type: System::Int32

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

From vsshell80.idl:

HRESULT IVsUpdateSolutionEvents3::OnBeforeActiveSolutionCfgChange(
   [in] IVsCfg *pOldActiveSlnCfg, 
   [in] IVsCfg *pNewActiveSlnCfg
);
Return to top
Show: