Share via


SolutionListener.OnQueryCloseProject Method

This class and its members are reserved for internal use and are not intended to be used in your code.

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.Project.Internal
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
Public Overridable Function OnQueryCloseProject ( _
    hierarchy As IVsHierarchy, _
    removing As Integer, _
    ByRef cancel As Integer _
) As Integer
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

Return Value

Type: System.Int32

Implements

IVsSolutionEvents3.OnQueryCloseProject(IVsHierarchy, Int32, Int32%)
IVsSolutionEvents2.OnQueryCloseProject(IVsHierarchy, Int32, Int32%)
IVsSolutionEvents.OnQueryCloseProject(IVsHierarchy, Int32, Int32%)

.NET Framework Security

See Also

Reference

SolutionListener Class

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