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

Définition

Récupère un nombre spécifié d’éléments dans la séquence d’énumération.

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

Paramètres

celt
Int32

Nombre de références IConnectionPoint à retourner dans rgelt.

rgelt
UCOMIConnectionPoint[]

Lors d'un retour, référence aux connexions énumérées.

pceltFetched
Int32

Lors d'un retour, référence au nombre réel de connexions énumérées dans rgelt.

Retours

Int32

S_OK si le paramètre pceltFetched est égal au paramètre celt ; sinon, S_FALSE.

Remarques

Pour plus d’informations sur IEnumConnectionPoints::Next , consultez MSDN Library.

S’applique à