FlowControl.ForEachNextObj(Object, IEnumerator) 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.
Définit une référence à l’objet suivant dans une For Each boucle.
Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code.
public:
static bool ForEachNextObj(System::Object ^ % obj, System::Collections::IEnumerator ^ enumerator);
public static bool ForEachNextObj(ref object obj, System.Collections.IEnumerator enumerator);
static member ForEachNextObj : obj * System.Collections.IEnumerator -> bool
Public Function ForEachNextObj (ByRef obj As Object, enumerator As IEnumerator) As Boolean
Public Shared Function ForEachNextObj (ByRef obj As Object, enumerator As IEnumerator) As Boolean
Paramètres
- obj
- Object
Variable de plage de la For Each boucle.
- enumerator
- IEnumerator
De IEnumerator l’objet en cours d’itération dans la For Each boucle.
Retours
True si obj fait référence à l’objet suivant ; False s’il n’y a plus d’objets et obj est Nothing.
Remarques
Cette classe prend en charge le compilateur Visual Basic et n’est pas destinée à être utilisée directement à partir de votre code.