Partager via


IVsUpdateSolutionEvents3.OnAfterActiveSolutionCfgChange Method

Definition

Fired after the active solution configuration is changed.

public:
 int OnAfterActiveSolutionCfgChange(Microsoft::VisualStudio::Shell::Interop::IVsCfg ^ pOldActiveSlnCfg, Microsoft::VisualStudio::Shell::Interop::IVsCfg ^ pNewActiveSlnCfg);
public:
 int OnAfterActiveSolutionCfgChange(Microsoft::VisualStudio::Shell::Interop::IVsCfg ^ pOldActiveSlnCfg, Microsoft::VisualStudio::Shell::Interop::IVsCfg ^ pNewActiveSlnCfg);
int OnAfterActiveSolutionCfgChange(Microsoft::VisualStudio::Shell::Interop::IVsCfg const & pOldActiveSlnCfg, Microsoft::VisualStudio::Shell::Interop::IVsCfg const & pNewActiveSlnCfg);
public int OnAfterActiveSolutionCfgChange (Microsoft.VisualStudio.Shell.Interop.IVsCfg pOldActiveSlnCfg, Microsoft.VisualStudio.Shell.Interop.IVsCfg pNewActiveSlnCfg);
abstract member OnAfterActiveSolutionCfgChange : Microsoft.VisualStudio.Shell.Interop.IVsCfg * Microsoft.VisualStudio.Shell.Interop.IVsCfg -> int
Public Function OnAfterActiveSolutionCfgChange (pOldActiveSlnCfg As IVsCfg, pNewActiveSlnCfg As IVsCfg) As Integer

Parameters

pOldActiveSlnCfg
IVsCfg

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

pNewActiveSlnCfg
IVsCfg

[in] The new active solution configuration.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsUpdateSolutionEvents3::OnAfterActiveSolutionCfgChange(  
   [in] IVsCfg *pOldActiveSlnCfg,   
   [in] IVsCfg *pNewActiveSlnCfg  
);  

Applies to