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.
Called when the active project configuration for a project in the solution has changed.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function OnActiveProjectCfgChange ( _
pIVsHierarchy As IVsHierarchy _
) As Integer
'Usage
Dim instance As IVsUpdateSolutionEvents2
Dim pIVsHierarchy As IVsHierarchy
Dim returnValue As Integer
returnValue = instance.OnActiveProjectCfgChange(pIVsHierarchy)
int OnActiveProjectCfgChange(
IVsHierarchy pIVsHierarchy
)
int OnActiveProjectCfgChange(
[InAttribute] IVsHierarchy^ pIVsHierarchy
)
abstract OnActiveProjectCfgChange :
pIVsHierarchy:IVsHierarchy -> int
function OnActiveProjectCfgChange(
pIVsHierarchy : IVsHierarchy
) : int
Parameters
- pIVsHierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
[in] Pointer to an IVsHierarchy object.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsUpdateSolutionEvents.OnActiveProjectCfgChange(IVsHierarchy)
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsUpdateSolutionEvents2::OnActiveProjectCfgChange(
[in] IVsHierarchy *pIVsHierarchy
);
The OnActiveProjectCfgChange event is fired after the active project configuration for a project in the solution has been changed. If nulla null reference (Nothing in Visual Basic) is passed for pIVsHierarchy, sinks for this event have to assume that every project in the solution may have changed, even if there is only one project active in the solution.
.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
IVsUpdateSolutionEvents2 Interface
IVsUpdateSolutionEvents2 Members