IVsUpdateSolutionEvents3.OnAfterActiveSolutionCfgChange Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'宣告
Function OnAfterActiveSolutionCfgChange ( _
pOldActiveSlnCfg As IVsCfg, _
pNewActiveSlnCfg As IVsCfg _
) As Integer
'用途
Dim instance As IVsUpdateSolutionEvents3
Dim pOldActiveSlnCfg As IVsCfg
Dim pNewActiveSlnCfg As IVsCfg
Dim returnValue As Integer
returnValue = instance.OnAfterActiveSolutionCfgChange(pOldActiveSlnCfg, _
pNewActiveSlnCfg)
int OnAfterActiveSolutionCfgChange(
IVsCfg pOldActiveSlnCfg,
IVsCfg pNewActiveSlnCfg
)
int OnAfterActiveSolutionCfgChange(
[InAttribute] IVsCfg^ pOldActiveSlnCfg,
[InAttribute] IVsCfg^ pNewActiveSlnCfg
)
abstract OnAfterActiveSolutionCfgChange :
pOldActiveSlnCfg:IVsCfg *
pNewActiveSlnCfg:IVsCfg -> int
function OnAfterActiveSolutionCfgChange(
pOldActiveSlnCfg : IVsCfg,
pNewActiveSlnCfg : IVsCfg
) : int
Parameters
- pOldActiveSlnCfg
Type: Microsoft.VisualStudio.Shell.Interop.IVsCfg
[in]
- pNewActiveSlnCfg
Type: Microsoft.VisualStudio.Shell.Interop.IVsCfg
[in]
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::OnAfterActiveSolutionCfgChange(
[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.
See Also
Reference
IVsUpdateSolutionEvents3 Interface