Επεξεργασία

Κοινή χρήση μέσω


FlowControl.ForLoopInitObj Method

Definition

Initializes a For...Next loop.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Parameters

Counter
Object

The loop counter variable.

Start
Object

The initial value of the loop counter.

Limit
Object

The value of the To option.

StepValue
Object

The value of the Step option.

LoopForResult
Object

An object that contains verified values for loop values.

CounterResult
Object

The counter value for the next loop iteration.

Returns

False if the loop has terminated; otherwise, True.

Remarks

This class supports the Visual Basic compiler and is not intended to be used directly from your code.

Applies to

See also