IVsPrioritizedSolutionEvents.PrioritizedOnBeforeCloseProject Method
Defines a method called after OnBeforeCloseProject and before closing a project.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function PrioritizedOnBeforeCloseProject ( _
pHierarchy As IVsHierarchy, _
fRemoved As Integer _
) As Integer
int PrioritizedOnBeforeCloseProject(
IVsHierarchy pHierarchy,
int fRemoved
)
int PrioritizedOnBeforeCloseProject(
[InAttribute] IVsHierarchy^ pHierarchy,
[InAttribute] int fRemoved
)
abstract PrioritizedOnBeforeCloseProject :
pHierarchy:IVsHierarchy *
fRemoved:int -> int
function PrioritizedOnBeforeCloseProject(
pHierarchy : IVsHierarchy,
fRemoved : int
) : int
Parameters
pHierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy[in] Pointer to the IVsHierarchy interface of the project.
fRemoved
Type: Int32[in] Boolean. Set to true if the project was removed from the solution.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.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.