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

‘선언
Function PrioritizedOnBeforeCloseProject ( _
    pHierarchy As IVsHierarchy, _
    fRemoved As Integer _
) As Integer
‘사용 방법
Dim instance As IVsPrioritizedSolutionEvents
Dim pHierarchy As IVsHierarchy
Dim fRemoved As Integer
Dim returnValue As Integer

returnValue = instance.PrioritizedOnBeforeCloseProject(pHierarchy, _
    fRemoved)
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

IVsPrioritizedSolutionEvents Members

Microsoft.VisualStudio.Shell.Interop Namespace