UCOMIEnumConnectionPoints.Next(Int32, UCOMIConnectionPoint[], Int32) Método

Definição

Recupera um número especificado de itens na sequência de enumeração.

public:
 int Next(int celt, cli::array <System::Runtime::InteropServices::UCOMIConnectionPoint ^> ^ rgelt, [Runtime::InteropServices::Out] int % pceltFetched);
public int Next(int celt, System.Runtime.InteropServices.UCOMIConnectionPoint[] rgelt, out int pceltFetched);
abstract member Next : int * System.Runtime.InteropServices.UCOMIConnectionPoint[] * int -> int
Public Function Next (celt As Integer, rgelt As UCOMIConnectionPoint(), ByRef pceltFetched As Integer) As Integer

Parâmetros

celt
Int32

O número de IConnectionPoint referências a devolver em rgelt.

rgelt
UCOMIConnectionPoint[]

No regresso bem-sucedido, uma referência às ligações enumeradas.

pceltFetched
Int32

Após o retorno bem-sucedido, uma referência ao número real de ligações enumeradas em rgelt.

Devoluções

S_OK se o pceltFetched parâmetro for igual ao celt parâmetro; caso contrário, S_FALSE.

Observações

Para mais informações sobre IEnumConnectionPoints::Next, consulte a Biblioteca MSDN.

Aplica-se a