Partilhar via


Método IVsEnumTextBuffers.Next

Recupera os buffers de texto da seqüência de enumeração.

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

Sintaxe

'Declaração
Function Next ( _
    celt As UInteger, _
    <OutAttribute> rgelt As IVsTextBuffer(), _
    ByRef pceltFetched As UInteger _
) As Integer
int Next(
    uint celt,
    IVsTextBuffer[] rgelt,
    ref uint pceltFetched
)
int Next(
    unsigned int celt, 
    [OutAttribute] array<IVsTextBuffer^>^ rgelt, 
    unsigned int% pceltFetched
)
abstract Next : 
        celt:uint32 * 
        rgelt:IVsTextBuffer[] byref * 
        pceltFetched:uint32 byref -> int
function Next(
    celt : uint, 
    rgelt : IVsTextBuffer[], 
    pceltFetched : uint
) : int

Parâmetros

  • celt
    Tipo: UInt32

    [in] O número de buffers de texto para recuperar solicitado.

  • pceltFetched
    Tipo: UInt32%

    [out] Ponteiro para o número real de regiões ocultas fornecido no pceltFetched. O chamador desse método possível defini-la nulluma referência nula (Nothing no Visual Basic) se celt é um.

Valor de retorno

Tipo: 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 textmgr.idl:

[C++]

HRESULT IVsEnumTextBuffers::Next(
   ULONG celt,
   [out, size_is(celt), length_is(*pceltFetched)] IVsTextBuffer **rgelt,
   ULONG *pceltFetched
);

Segurança do .NET Framework

Consulte também

Referência

IVsEnumTextBuffers Interface

Namespace Microsoft.VisualStudio.TextManager.Interop