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

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

returnValue = instance.PrioritizedOnAfterOpenProject(pHierarchy, _
    fAdded)
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: System.Int32
    [in] Boolean. Set to true if the project was added to 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