ActionableSolutionListener.OnBeforeUnloadProjectEventHandler Delegate
Represents the method that will handle the BeforeUnloadProjectEvent 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 OnBeforeUnloadProjectEventHandler ( _
realHierarchy As IVsHierarchy, _
stubHierarchy As IVsHierarchy _
) As Integer
'Usage
Dim instance As New OnBeforeUnloadProjectEventHandler(AddressOf HandlerMethod)
public delegate int OnBeforeUnloadProjectEventHandler(
IVsHierarchy realHierarchy,
IVsHierarchy stubHierarchy
)
public delegate int OnBeforeUnloadProjectEventHandler(
IVsHierarchy^ realHierarchy,
IVsHierarchy^ stubHierarchy
)
JScript does not support delegates.
type OnBeforeUnloadProjectEventHandler =
delegate of
realHierarchy:IVsHierarchy *
stubHierarchy:IVsHierarchy -> int
Parameters
- realHierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
The hierarchy of the project to unload
- stubHierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
Placeholder hierarchy of the project to unload
Return Value
Type: System.Int32
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities Namespace