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

Paramètres

celt
Int32

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

rgelt
STATDATA[]

Lorsque cette méthode est retournée, contient une référence aux références STATDATA énumérées. Ce paramètre est passé non initialisé.

pceltFetched
Int32[]

Lorsque ce paramètre est retourné, contient une référence au nombre réel de références énumérées dans rgelt. Ce paramètre est passé non initialisé.

Retours

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

Remarques

Pour plus d’informations, consultez la méthode IEnumSTATDATA ::Next.

S’applique à