Compartir a través de


IVsUpdateSolutionEvents3.OnBeforeActiveSolutionCfgChange Method

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

Syntax

'Declaración
Function OnBeforeActiveSolutionCfgChange ( _
    pOldActiveSlnCfg As IVsCfg, _
    pNewActiveSlnCfg As IVsCfg _
) As Integer
'Uso
Dim instance As IVsUpdateSolutionEvents3
Dim pOldActiveSlnCfg As IVsCfg
Dim pNewActiveSlnCfg As IVsCfg
Dim returnValue As Integer

returnValue = instance.OnBeforeActiveSolutionCfgChange(pOldActiveSlnCfg, _
    pNewActiveSlnCfg)
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

Return Value

Type: System.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

See Also

Reference

IVsUpdateSolutionEvents3 Interface

IVsUpdateSolutionEvents3 Members

Microsoft.VisualStudio.Shell.Interop Namespace