Share via


ActionableSolutionListener.OnBeforeCloseProjectEventHandler Delegate

Represents the method that will handle the BeforeCloseProjectEvent 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 OnBeforeCloseProjectEventHandler ( _
    hierarchy As IVsHierarchy, _
    removed As Integer _
) As Integer
'Usage
Dim instance As New OnBeforeCloseProjectEventHandler(AddressOf HandlerMethod)
public delegate int OnBeforeCloseProjectEventHandler(
    IVsHierarchy hierarchy,
    int removed
)
public delegate int OnBeforeCloseProjectEventHandler(
    IVsHierarchy^ hierarchy, 
    int removed
)
JScript does not support delegates.
type OnBeforeCloseProjectEventHandler = 
    delegate of 
        hierarchy:IVsHierarchy * 
        removed:int -> int

Parameters

  • removed
    Type: System.Int32
    Specifies whether the project was removed from the solution before the solution was closed

Return Value

Type: System.Int32

See Also

Reference

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