Compartir a través de


IVsPrioritizedSolutionEvents.PrioritizedOnAfterOpenProject Method

Defines a method called after opening a project but before calling OnAfterOpenProject.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function PrioritizedOnAfterOpenProject ( _
    pHierarchy As IVsHierarchy, _
    fAdded As Integer _
) As Integer
int PrioritizedOnAfterOpenProject(
    IVsHierarchy pHierarchy,
    int fAdded
)
int PrioritizedOnAfterOpenProject(
    [InAttribute] IVsHierarchy^ pHierarchy, 
    [InAttribute] int fAdded
)
abstract PrioritizedOnAfterOpenProject : 
        pHierarchy:IVsHierarchy * 
        fAdded:int -> int
function PrioritizedOnAfterOpenProject(
    pHierarchy : IVsHierarchy, 
    fAdded : int
) : int

Parameters

  • fAdded
    Type: Int32

    [in] Boolean. Set to true if the project was added to 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

See Also

Reference

IVsPrioritizedSolutionEvents Interface

Microsoft.VisualStudio.Shell.Interop Namespace