FlowControl.ForLoopInitObj 方法

定義

初始化迴 For...Next 圈。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

參數

Counter
Object

迴圈計數器變數。

Start
Object

迴圈計數器的初始值。

Limit
Object

選擇權的 To 價值。

StepValue
Object

選擇權的 Step 價值。

LoopForResult
Object

一個包含迴圈值驗證過值的物件。

CounterResult
Object

下一次迴圈迭代的計數值。

傳回

False如果迴路已經終止;否則,。 True

備註

這門課支援 Visual Basic 編譯器,並非直接從你的程式碼中使用。

適用於

另請參閱