ModelingEditorFactory.OnAfterOpenProject Method

Notifies listening clients that the project has opened.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

声明
Public Function OnAfterOpenProject ( _
    pHierarchy As IVsHierarchy, _
    fAdded As Integer _
) As Integer
public int OnAfterOpenProject(
    IVsHierarchy pHierarchy,
    int fAdded
)
public:
virtual int OnAfterOpenProject(
    IVsHierarchy^ pHierarchy, 
    int fAdded
) sealed
abstract OnAfterOpenProject : 
        pHierarchy:IVsHierarchy * 
        fAdded:int -> int 
override OnAfterOpenProject : 
        pHierarchy:IVsHierarchy * 
        fAdded:int -> int 
public final function OnAfterOpenProject(
    pHierarchy : IVsHierarchy, 
    fAdded : int
) : int

Parameters

  • fAdded
    Type: System.Int32
    true if the project is added to the modeling editor after the modeling editor is opened; otherwise, false.

Return Value

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

Implements

IVsSolutionEvents.OnAfterOpenProject(IVsHierarchy, Int32)

.NET Framework Security

See Also

Reference

ModelingEditorFactory Class

Microsoft.VisualStudio.Modeling.Shell Namespace

IVsEditorFactory