OnQueryCloseProject 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 OnQueryCloseProject ( _
hierarchy As IVsHierarchy, _
removing As Integer, _
ByRef cancel As Integer _
) As Integer
'Usage
Dim instance As SolutionListener
Dim hierarchy As IVsHierarchy
Dim removing As Integer
Dim cancel As Integer
Dim returnValue As Integer
returnValue = instance.OnQueryCloseProject(hierarchy, _
removing, cancel)
public virtual int OnQueryCloseProject(
IVsHierarchy hierarchy,
int removing,
ref int cancel
)
public:
virtual int OnQueryCloseProject(
IVsHierarchy^ hierarchy,
int removing,
int% cancel
)
abstract OnQueryCloseProject :
hierarchy:IVsHierarchy *
removing:int *
cancel:int byref -> int
override OnQueryCloseProject :
hierarchy:IVsHierarchy *
removing:int *
cancel:int byref -> int
public function OnQueryCloseProject(
hierarchy : IVsHierarchy,
removing : int,
cancel : int
) : int
Parameters
- hierarchy
Type: IVsHierarchy
- removing
Type: System..::..Int32
- cancel
Type: System..::..Int32%
Return Value
Type: System..::..Int32
Implements
IVsSolutionEvents3OnQueryCloseProject(IVsHierarchy, Int32, Int32%)
IVsSolutionEvents2OnQueryCloseProject(IVsHierarchy, Int32, Int32%)
IVsSolutionEventsOnQueryCloseProject(IVsHierarchy, Int32, Int32%)
See Also
Reference
Microsoft.VisualStudio.Data.Tools.Package.Project.Internal Namespace