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.
Fires a solution event, OnQueryChangeProjectParent, indicating a query about changing the parent of the project.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function FireOnQueryChangeProjectParent ( _
pHierarchy As IVsHierarchy, _
pNewParentHier As IVsHierarchy _
) As Integer
int FireOnQueryChangeProjectParent(
IVsHierarchy pHierarchy,
IVsHierarchy pNewParentHier
)
int FireOnQueryChangeProjectParent(
[InAttribute] IVsHierarchy^ pHierarchy,
[InAttribute] IVsHierarchy^ pNewParentHier
)
abstract FireOnQueryChangeProjectParent :
pHierarchy:IVsHierarchy *
pNewParentHier:IVsHierarchy -> int
function FireOnQueryChangeProjectParent(
pHierarchy : IVsHierarchy,
pNewParentHier : IVsHierarchy
) : int
Parameters
pHierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy[in] Pointer to the IVsHierarchy interface of the child project.
pNewParentHier
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy[in] Pointer to the IVsHierarchy interface of the new parent project.
Return Value
Type: Int32
Returns S_FALSE if the callee vetoes the operation. Otherwise, returns S_OK.
.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.