FlowControl.ForLoopInitObj Metódus

Definíció

Inicializál egy hurkot For...Next .

Ez az API a termékinfrastruktúrát támogatja, és közvetlenül a kódból nem használható.

public:
 static bool ForLoopInitObj(System::Object ^ Counter, System::Object ^ Start, System::Object ^ Limit, System::Object ^ StepValue, System::Object ^ % LoopForResult, System::Object ^ % CounterResult);
public static bool ForLoopInitObj(object Counter, object Start, object Limit, object StepValue, ref object LoopForResult, ref object CounterResult);
static member ForLoopInitObj : obj * obj * obj * obj * obj * obj -> bool
Public Function ForLoopInitObj (Counter As Object, Start As Object, Limit As Object, StepValue As Object, ByRef LoopForResult As Object, ByRef CounterResult As Object) As Boolean
Public Shared Function ForLoopInitObj (Counter As Object, Start As Object, Limit As Object, StepValue As Object, ByRef LoopForResult As Object, ByRef CounterResult As Object) As Boolean

Paraméterek

Counter
Object

A hurokszámláló változója.

Start
Object

A hurokszámláló kezdeti értéke.

Limit
Object

A beállítás értéke To .

StepValue
Object

A beállítás értéke Step .

LoopForResult
Object

Olyan objektum, amely a ciklusértékek ellenőrzött értékeit tartalmazza.

CounterResult
Object

A következő ciklus iterációjának számlálóértéke.

Válaszok

Falseha a hurok leállt; egyéb esetben. True

Megjegyzések

Ez az osztály támogatja a Visual Basic fordítót, és nem közvetlenül a kódból való használatra szolgál.

A következőre érvényes:

Lásd még