Compartir a través de


IVsSolutionEvents2.OnAfterOpenSolution Method (Object, Int32)

Notifies listening clients that the solution has been opened.

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

Syntax

'Declaración
Function OnAfterOpenSolution ( _
    pUnkReserved As Object, _
    fNewSolution As Integer _
) As Integer
'Uso
Dim instance As IVsSolutionEvents2
Dim pUnkReserved As Object
Dim fNewSolution As Integer
Dim returnValue As Integer

returnValue = instance.OnAfterOpenSolution(pUnkReserved, _
    fNewSolution)
int OnAfterOpenSolution(
    Object pUnkReserved,
    int fNewSolution
)
int OnAfterOpenSolution(
    [InAttribute] Object^ pUnkReserved, 
    [InAttribute] int fNewSolution
)
abstract OnAfterOpenSolution : 
        pUnkReserved:Object * 
        fNewSolution:int -> int 
function OnAfterOpenSolution(
    pUnkReserved : Object, 
    fNewSolution : int
) : int

Parameters

  • fNewSolution
    Type: System.Int32
    [in] true if the solution is being created. false if the solution was created previously or is being loaded.

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)

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsSolutionEvents2::OnAfterOpenSolution(
   [in] IUnknown *pUnkReserved,
   [in] BOOL fNewSolution
);

.NET Framework Security

See Also

Reference

IVsSolutionEvents2 Interface

IVsSolutionEvents2 Members

OnAfterOpenSolution Overload

Microsoft.VisualStudio.Shell.Interop Namespace