Share via


UCOMIEnumMoniker.Next(Int32, UCOMIMoniker[], 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::UCOMIMoniker ^> ^ rgelt, [Runtime::InteropServices::Out] int % pceltFetched);
public int Next (int celt, System.Runtime.InteropServices.UCOMIMoniker[] rgelt, out int pceltFetched);
abstract member Next : int * System.Runtime.InteropServices.UCOMIMoniker[] * int -> int
Public Function Next (celt As Integer, rgelt As UCOMIMoniker(), ByRef pceltFetched As Integer) As Integer

Paramètres

celt
Int32

Nombre de monikers à retourner dans rgelt.

rgelt
UCOMIMoniker[]

Lors d'un retour, référence aux monikers énumérés.

pceltFetched
Int32

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

Retours

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

Remarques

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

S’applique à