FlowControl.ForEachNextObj(Object, IEnumerator) Metodo

Definizione

Imposta un riferimento all'oggetto successivo in un For Each ciclo.

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

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

Parametri

obj
Object

Variabile di intervallo del For Each ciclo.

enumerator
IEnumerator

Oggetto IEnumerator dell'oggetto su cui viene eseguita l'iterazione nel For Each ciclo.

Valori restituiti

True se obj fa riferimento all'oggetto successivo; False se non sono presenti più oggetti e obj è Nothing.

Commenti

Questa classe supporta il compilatore Visual Basic e non deve essere usata direttamente dal codice.

Si applica a

Vedi anche