IVsUpdateSolutionEvents3.OnAfterActiveSolutionCfgChange Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
);