OnQueryUnloadProject Method
Namespace: Microsoft.VisualStudio.Data.Tools.Package.Project.Internal
Assembly: Microsoft.VisualStudio.Data.Tools.Package (in Microsoft.VisualStudio.Data.Tools.Package.dll)
Syntax
'Declaration
Public Overridable Function OnQueryUnloadProject ( _
pRealHierarchy As IVsHierarchy, _
ByRef cancel As Integer _
) As Integer
'Usage
Dim instance As SolutionListener
Dim pRealHierarchy As IVsHierarchy
Dim cancel As Integer
Dim returnValue As Integer
returnValue = instance.OnQueryUnloadProject(pRealHierarchy, _
cancel)
public virtual int OnQueryUnloadProject(
IVsHierarchy pRealHierarchy,
ref int cancel
)
public:
virtual int OnQueryUnloadProject(
IVsHierarchy^ pRealHierarchy,
int% cancel
)
abstract OnQueryUnloadProject :
pRealHierarchy:IVsHierarchy *
cancel:int byref -> int
override OnQueryUnloadProject :
pRealHierarchy:IVsHierarchy *
cancel:int byref -> int
public function OnQueryUnloadProject(
pRealHierarchy : IVsHierarchy,
cancel : int
) : int
Parameters
- pRealHierarchy
Type: IVsHierarchy
- cancel
Type: System..::..Int32%
Return Value
Type: System..::..Int32
Implements
IVsSolutionEvents3OnQueryUnloadProject(IVsHierarchy, Int32%)
IVsSolutionEvents2OnQueryUnloadProject(IVsHierarchy, Int32%)
IVsSolutionEventsOnQueryUnloadProject(IVsHierarchy, Int32%)
See Also
Reference
Microsoft.VisualStudio.Data.Tools.Package.Project.Internal Namespace