FlowControl.ForLoopInitObj 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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 編譯程式,並不適合直接從您的程式代碼使用。