Método IVsSolutionEvents.OnAfterOpenSolution (Object, Int32)

 

Publicado: abril de 2016

Notifica os clientes de escutando que a solução foi aberta.

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

Sintaxe

int OnAfterOpenSolution(
    object pUnkReserved,
    int fNewSolution
)
int OnAfterOpenSolution(
    Object^ pUnkReserved,
    int fNewSolution
)
abstract OnAfterOpenSolution : 
        pUnkReserved:Object *
        fNewSolution:int -> int
Function OnAfterOpenSolution (
    pUnkReserved As Object,
    fNewSolution As Integer
) As Integer

Parâmetros

  • pUnkReserved
    [in] Reservado para uso futuro.
  • fNewSolution
    [in] true se a solução estiver sendo criada.falseSe a solução criada anteriormente ou está sendo carregada.

Valor de retorno

Type: System.Int32

Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De vsshell.idl:

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

Consulte também

Interface IVsSolutionEvents
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo