Share via


ActionableSolutionListener.OnQueryUnloadProjectEventHandler Delegate

Represents the method that will handle the QueryUnloadProjectEvent 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 OnQueryUnloadProjectEventHandler ( _
    realHierarchy As IVsHierarchy, _
    ByRef cancel As Integer _
) As Integer
'Usage
Dim instance As New OnQueryUnloadProjectEventHandler(AddressOf HandlerMethod)
public delegate int OnQueryUnloadProjectEventHandler(
    IVsHierarchy realHierarchy,
    ref int cancel
)
public delegate int OnQueryUnloadProjectEventHandler(
    IVsHierarchy^ realHierarchy, 
    int% cancel
)
JScript does not support delegates.
type OnQueryUnloadProjectEventHandler = 
    delegate of 
        realHierarchy:IVsHierarchy * 
        cancel:int -> int

Parameters

  • cancel
    Type: System.Int32%
    Specifies whether the client vetoed unloading the project

Return Value

Type: System.Int32

See Also

Reference

Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities Namespace