FlowControl.ForEachNextObj(Object, IEnumerator) Metodo

Definizione

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

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 ciclo For Each.

enumerator
IEnumerator

IEnumerator dell'oggetto scorso nel ciclo For Each.

Restituisce

True se obj fa riferimento all'oggetto successivo; False se non vi sono 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