UCOMIEnumConnectionPoints.Next(Int32, UCOMIConnectionPoint[], Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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 IConnectionPoint références à retourner dans rgelt.
- rgelt
- UCOMIConnectionPoint[]
En cas de retour réussi, référence aux connexions énumérées.
- pceltFetched
- Int32
Lors d’un retour réussi, référence au nombre réel de connexions énumérées dans rgelt.
Retours
S_OK si le pceltFetched paramètre est égal au celt paramètre ; sinon, S_FALSE.
Remarques
Pour plus d’informations sur IEnumConnectionPoints::Next, consultez MSDN Library.