Partilhar via


ModelingEditorFactory.OnAfterOpenSolution Method

Notifies listening clients that the modeling editor 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

'Declaração
Public Function OnAfterOpenSolution ( _
    pUnkReserved As Object, _
    fNewSolution As Integer _
) As Integer
public int OnAfterOpenSolution(
    Object pUnkReserved,
    int fNewSolution
)
public:
virtual int OnAfterOpenSolution(
    Object^ pUnkReserved, 
    int fNewSolution
) sealed
abstract OnAfterOpenSolution : 
        pUnkReserved:Object * 
        fNewSolution:int -> int 
override OnAfterOpenSolution : 
        pUnkReserved:Object * 
        fNewSolution:int -> int 
public final function OnAfterOpenSolution(
    pUnkReserved : Object, 
    fNewSolution : int
) : int

Parameters

  • fNewSolution
    Type: System.Int32
    true to notify clients that the modeling editor is being created; 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.OnAfterOpenSolution(Object, Int32)

.NET Framework Security

See Also

Reference

ModelingEditorFactory Class

Microsoft.VisualStudio.Modeling.Shell Namespace

IVsEditorFactory