IVsFireSolutionEvents.FireOnQueryUnloadProject Method
Fires a solution event, OnQueryUnloadProject, indicating a query about unloading the project.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
‘선언
Function FireOnQueryUnloadProject ( _
pHierarchy As IVsHierarchy _
) As Integer
‘사용 방법
Dim instance As IVsFireSolutionEvents
Dim pHierarchy As IVsHierarchy
Dim returnValue As Integer
returnValue = instance.FireOnQueryUnloadProject(pHierarchy)
int FireOnQueryUnloadProject(
IVsHierarchy pHierarchy
)
int FireOnQueryUnloadProject(
[InAttribute] IVsHierarchy^ pHierarchy
)
abstract FireOnQueryUnloadProject :
pHierarchy:IVsHierarchy -> int
function FireOnQueryUnloadProject(
pHierarchy : IVsHierarchy
) : int
Parameters
- pHierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
[in] Pointer to the IVsHierarchy interface of the project being unloaded.
Return Value
Type: System.Int32
Returns S_FALSE if the callee vetoes the operation. Otherwise, returns S_OK.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsFireSolutionEvents::FireOnQueryUnloadProject(
[in] IVsHierarchy *pHierarchy
);
.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.