SolutionListener.OnQueryUnloadProject 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 OnQueryUnloadProject ( _
pRealHierarchy As IVsHierarchy, _
ByRef cancel As Integer _
) As Integer
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: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
- cancel
Type: System.Int32%
Return Value
Type: System.Int32
Implements
IVsSolutionEvents3.OnQueryUnloadProject(IVsHierarchy, Int32%)
IVsSolutionEvents2.OnQueryUnloadProject(IVsHierarchy, Int32%)
IVsSolutionEvents.OnQueryUnloadProject(IVsHierarchy, 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