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
- hierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
- removing
Type: System.Int32
- cancel
Type: System.Int32%
Return Value
Type: System.Int32
Implements
IVsSolutionEvents3.OnQueryCloseProject(IVsHierarchy, Int32, Int32%)
IVsSolutionEvents2.OnQueryCloseProject(IVsHierarchy, Int32, Int32%)
IVsSolutionEvents.OnQueryCloseProject(IVsHierarchy, Int32, Int32%)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Package.Project.Internal Namespace