Share via


OnQueryCloseSolution 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 OnQueryCloseSolution ( _
    pUnkReserved As Object, _
    ByRef cancel As Integer _
) As Integer
'Usage
Dim instance As SolutionListener
Dim pUnkReserved As Object
Dim cancel As Integer
Dim returnValue As Integer

returnValue = instance.OnQueryCloseSolution(pUnkReserved, _
    cancel)
public virtual int OnQueryCloseSolution(
    Object pUnkReserved,
    ref int cancel
)
public:
virtual int OnQueryCloseSolution(
    Object^ pUnkReserved, 
    int% cancel
)
abstract OnQueryCloseSolution : 
        pUnkReserved:Object * 
        cancel:int byref -> int 
override OnQueryCloseSolution : 
        pUnkReserved:Object * 
        cancel:int byref -> int 
public function OnQueryCloseSolution(
    pUnkReserved : Object, 
    cancel : int
) : int

Parameters

Return Value

Type: System..::..Int32

Implements

IVsSolutionEvents3OnQueryCloseSolution(Object, Int32%)
IVsSolutionEvents2OnQueryCloseSolution(Object, Int32%)
IVsSolutionEventsOnQueryCloseSolution(Object, Int32%)

See Also

Reference

SolutionListener Class

Microsoft.VisualStudio.Data.Tools.Package.Project.Internal Namespace