IVsFireSolutionEvents2.FireOnQueryChangeProjectParent Method

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

‘선언
Function FireOnQueryChangeProjectParent ( _
    pHierarchy As IVsHierarchy, _
    pNewParentHier As IVsHierarchy _
) As Integer
‘사용 방법
Dim instance As IVsFireSolutionEvents2
Dim pHierarchy As IVsHierarchy
Dim pNewParentHier As IVsHierarchy
Dim returnValue As Integer

returnValue = instance.FireOnQueryChangeProjectParent(pHierarchy, _
    pNewParentHier)
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

Return Value

Type: System.Int32
Returns S_FALSE if the callee vetoes the operation. Otherwise, returns S_OK.

.NET Framework Security

See Also

Reference

IVsFireSolutionEvents2 Interface

IVsFireSolutionEvents2 Members

Microsoft.VisualStudio.Shell.Interop Namespace