IEnumConnectionPoints.Next(Int32, IConnectionPoint[], IntPtr) 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::ComTypes::IConnectionPoint ^> ^ rgelt, IntPtr pceltFetched);
public int Next(int celt, System.Runtime.InteropServices.ComTypes.IConnectionPoint[] rgelt, IntPtr pceltFetched);
abstract member Next : int * System.Runtime.InteropServices.ComTypes.IConnectionPoint[] * nativeint -> int
Public Function Next (celt As Integer, rgelt As IConnectionPoint(), pceltFetched As IntPtr) As Integer

Parâmetros

celt
Int32

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

rgelt
IConnectionPoint[]

Quando este método retorna, contém uma referência às ligações enumeradas. Este parâmetro é passado sem inicializar.

pceltFetched
IntPtr

nativeint

Quando este método retorna, contém 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, consulte IEnumConnectionPoints::Next método.

Aplica-se a