IVsEnumCodeBlocks.Next(UInt32, TextSpanAndCookie[], UInt32) Método

Definição

Retorna o próximo conjunto de elementos da enumeração.

public:
 int Next(System::UInt32 celt, cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpanAndCookie> ^ rgelt, [Runtime::InteropServices::Out] System::UInt32 % pceltFetched);
int Next(unsigned int celt, std::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpanAndCookie> const & rgelt, [Runtime::InteropServices::Out] unsigned int & pceltFetched);
public int Next (uint celt, Microsoft.VisualStudio.TextManager.Interop.TextSpanAndCookie[] rgelt, out uint pceltFetched);
abstract member Next : uint32 * Microsoft.VisualStudio.TextManager.Interop.TextSpanAndCookie[] * uint32 -> int
Public Function Next (celt As UInteger, rgelt As TextSpanAndCookie(), ByRef pceltFetched As UInteger) As Integer

Parâmetros

celt
UInt32

no O número de elementos a serem recuperados. Também especifica o tamanho máximo da rgelt matriz.

rgelt
TextSpanAndCookie[]

[entrada, saída] Uma matriz de TextSpanAndCookie objetos a ser preenchida.

pceltFetched
UInt32

fora Retorna o número de elementos realmente retornados na rgelt matriz.

Retornos

Int32

Se for bem-sucedido, retornará S_OK. Retorna S_FALSE se menos do que o número solicitado de elementos pode ser retornado. Caso contrário, retornará um código de erro.

Comentários

Assinatura COM

De singlefileeditor. idl:

HRESULT Next(  
   [in] ULONG    celt,  
   [out, size_is(celt), length_is(*pceltFetched)] TextSpanAndCookie *rgelt,  
   [out] ULONG *pceltFetched  
);  

Aplica-se a