ObjectFlowControl.ForLoopControl.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);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The types of the parameters cannot be statically analyzed and may be trimmed")]
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
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The types of the parameters cannot be statically analyzed and may be trimmed")>]
static member ForLoopInitObj : obj * obj * obj * obj * obj * obj -> bool
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

Attribútumok

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