ActionableSolutionListener.OnQueryChangeProjectParentEventHandler Delegate
Represents the method that will handle the QueryChangeProjectParentEvent event when it is raised.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Delegate Function OnQueryChangeProjectParentEventHandler ( _
hierarchy As IVsHierarchy, _
newParentHierarchy As IVsHierarchy, _
ByRef cancel As Integer _
) As Integer
'Usage
Dim instance As New OnQueryChangeProjectParentEventHandler(AddressOf HandlerMethod)
public delegate int OnQueryChangeProjectParentEventHandler(
IVsHierarchy hierarchy,
IVsHierarchy newParentHierarchy,
ref int cancel
)
public delegate int OnQueryChangeProjectParentEventHandler(
IVsHierarchy^ hierarchy,
IVsHierarchy^ newParentHierarchy,
int% cancel
)
JScript does not support delegates.
type OnQueryChangeProjectParentEventHandler =
delegate of
hierarchy:IVsHierarchy *
newParentHierarchy:IVsHierarchy *
cancel:int -> int
Parameters
- hierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
The hierarchy of the project parent
- newParentHierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
The hierarchy of the changed project parent
- cancel
Type: System.Int32%
Specifies whether client vetoed project closing
Return Value
Type: System.Int32
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities Namespace