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.
Queries listening clients as to whether a parent project has changed.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function OnQueryChangeProjectParent ( _
pHierarchy As IVsHierarchy, _
pNewParentHier As IVsHierarchy, _
<OutAttribute> ByRef pfCancel As Integer _
) As Integer
'Usage
Dim instance As IVsSolutionEvents4
Dim pHierarchy As IVsHierarchy
Dim pNewParentHier As IVsHierarchy
Dim pfCancel As Integer
Dim returnValue As Integer
returnValue = instance.OnQueryChangeProjectParent(pHierarchy, _
pNewParentHier, pfCancel)
int OnQueryChangeProjectParent(
IVsHierarchy pHierarchy,
IVsHierarchy pNewParentHier,
out int pfCancel
)
int OnQueryChangeProjectParent(
[InAttribute] IVsHierarchy^ pHierarchy,
[InAttribute] IVsHierarchy^ pNewParentHier,
[InAttribute] [OutAttribute] int% pfCancel
)
abstract OnQueryChangeProjectParent :
pHierarchy:IVsHierarchy *
pNewParentHier:IVsHierarchy *
pfCancel:int byref -> int
function OnQueryChangeProjectParent(
pHierarchy : IVsHierarchy,
pNewParentHier : IVsHierarchy,
pfCancel : int
) : int
Parameters
- pHierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
[in] Pointer to the IVsHierarchy interface of the project parent.
- pNewParentHier
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
[in] Pointer to the IVsHierarchy interface of the changed project parent.
- pfCancel
Type: System.Int32%
[in, out] true if the client vetoed the closing of the project. false if the client approved the closing of the project.
Return Value
Type: System.Int32
.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.