Share via


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

  • fRemoved
    Type: System.Int32

    [in] Boolean. Set to true if the project was removed from the solution.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsPrioritizedSolutionEvents Interface

Microsoft.VisualStudio.Shell.Interop Namespace