Método IVsEnumExternalErrors.Next
Retorna o próximo conjunto de elementos da enumeração.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (em Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Sintaxe
'Declaração
Function Next ( _
celt As UInteger, _
<OutAttribute> rgelt As ExternalError(), _
<OutAttribute> ByRef pceltFetched As UInteger _
) As Integer
int Next(
uint celt,
ExternalError[] rgelt,
out uint pceltFetched
)
int Next(
[InAttribute] unsigned int celt,
[InAttribute] [OutAttribute] array<ExternalError>^ rgelt,
[OutAttribute] unsigned int% pceltFetched
)
abstract Next :
celt:uint32 *
rgelt:ExternalError[] byref *
pceltFetched:uint32 byref -> int
function Next(
celt : uint,
rgelt : ExternalError[],
pceltFetched : uint
) : int
Parâmetros
celt
Tipo: UInt32[in] O número de elementos para recuperar. Também especifica o tamanho máximo da rgelt array.
rgelt
Tipo: array<Microsoft.VisualStudio.TextManager.Interop.ExternalError[][in, out] Uma matriz de ExternalError objetos devem ser preenchidas.
pceltFetched
Tipo: UInt32%[out] Retorna o número de elementos realmente retornados na rgelt array.
Valor de retorno
Tipo: Int32
Se bem-sucedida, retorna S_OK.Retorna S_FALSE se menos do que o número de elementos solicitado foi retornado.Caso contrário, retorna um código de erro.
Comentários
COM assinatura
De singlefileeditor.idl:
HRESULT Next(
[in] ULONG celt,
[in, out] ExternalError *rgelt,
[out] ULONG* pceltFetched
);
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.