UCOMIEnumMoniker.Next(Int32, UCOMIMoniker[], 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::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 en rgelt.
- rgelt
- UCOMIMoniker[]
Lors d’un retour réussi, référence aux monikers énumérés.
- pceltFetched
- Int32
En cas de retour réussi, référence au nombre réel de monikers énumérés 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 IEnumMoniker::Next, consultez MSDN Library.