Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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)
Syntax
'Declaration
Function OnBeforeActiveSolutionCfgChange ( _
pOldActiveSlnCfg As IVsCfg, _
pNewActiveSlnCfg As IVsCfg _
) As Integer
int OnBeforeActiveSolutionCfgChange(
IVsCfg pOldActiveSlnCfg,
IVsCfg pNewActiveSlnCfg
)
int OnBeforeActiveSolutionCfgChange(
[InAttribute] IVsCfg^ pOldActiveSlnCfg,
[InAttribute] IVsCfg^ pNewActiveSlnCfg
)
abstract OnBeforeActiveSolutionCfgChange :
pOldActiveSlnCfg:IVsCfg *
pNewActiveSlnCfg:IVsCfg -> int
function OnBeforeActiveSolutionCfgChange(
pOldActiveSlnCfg : IVsCfg,
pNewActiveSlnCfg : IVsCfg
) : int
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: Int32
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
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.