IVsUpdateSolutionEvents3.OnBeforeActiveSolutionCfgChange 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 before the active solution configuration is changed.
public:
int OnBeforeActiveSolutionCfgChange(Microsoft::VisualStudio::Shell::Interop::IVsCfg ^ pOldActiveSlnCfg, Microsoft::VisualStudio::Shell::Interop::IVsCfg ^ pNewActiveSlnCfg);
public:
int OnBeforeActiveSolutionCfgChange(Microsoft::VisualStudio::Shell::Interop::IVsCfg ^ pOldActiveSlnCfg, Microsoft::VisualStudio::Shell::Interop::IVsCfg ^ pNewActiveSlnCfg);
int OnBeforeActiveSolutionCfgChange(Microsoft::VisualStudio::Shell::Interop::IVsCfg const & pOldActiveSlnCfg, Microsoft::VisualStudio::Shell::Interop::IVsCfg const & pNewActiveSlnCfg);
public int OnBeforeActiveSolutionCfgChange (Microsoft.VisualStudio.Shell.Interop.IVsCfg pOldActiveSlnCfg, Microsoft.VisualStudio.Shell.Interop.IVsCfg pNewActiveSlnCfg);
abstract member OnBeforeActiveSolutionCfgChange : Microsoft.VisualStudio.Shell.Interop.IVsCfg * Microsoft.VisualStudio.Shell.Interop.IVsCfg -> int
Public Function OnBeforeActiveSolutionCfgChange (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::OnBeforeActiveSolutionCfgChange(
[in] IVsCfg *pOldActiveSlnCfg,
[in] IVsCfg *pNewActiveSlnCfg
);