Partilhar via


Método IEnumPackages.Next (UInt32, IVsPackage , UInt32)

 

Publicado: abril de 2016

Recupera o próximo grupo de interfaces de encapsulamento (IVsPackage).

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

Sintaxe

int Next(
    uint celt,
    IVsPackage[] rgelt,
    out uint pceltFetched
)
int Next(
    unsigned int celt,
    array<IVsPackage^>^ rgelt,
    [OutAttribute] unsigned int% pceltFetched
)
abstract Next : 
        celt:uint32 *
        rgelt:IVsPackage[] *
        pceltFetched:uint32 byref -> int
Function Next (
    celt As UInteger,
    rgelt As IVsPackage(),
    <OutAttribute> ByRef pceltFetched As UInteger
) As Integer

Parâmetros

  • celt
    [in] Número de interfaces de encapsulamento para retornar ou zero para indicar uma solicitação para todos os objetos.
  • rgelt
    [out] Uma matriz de IVsPackage objetos.Contém pceltFetched objetos.
  • pceltFetched
    [out] O número real de interfaces de pacote recuperado.

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 IEnumPackages::Next([in] ULONG celt, [out, size_is(celt), length_is(*pceltFetched)] IVsPackage **rgelt, [out] ULONG *pceltFetched);

Consulte também

Interface IEnumPackages
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo