ModelingEditorFactory.OnAfterOpenProject Method

Notifies listening clients that the project has opened.

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

Syntax

'Declaration
Public Function OnAfterOpenProject ( _
    pHierarchy As IVsHierarchy, _
    fAdded As Integer _
) As Integer
'Usage
Dim instance As ModelingEditorFactory 
Dim pHierarchy As IVsHierarchy 
Dim fAdded As Integer 
Dim returnValue As Integer 

returnValue = instance.OnAfterOpenProject(pHierarchy, _
    fAdded)
public int OnAfterOpenProject(
    IVsHierarchy pHierarchy,
    int fAdded
)
public:
virtual int OnAfterOpenProject(
    IVsHierarchy^ pHierarchy, 
    int fAdded
) sealed
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

ModelingEditorFactory Members

Microsoft.VisualStudio.Modeling.Shell Namespace

IVsEditorFactory