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 编译器,不应直接从代码中使用。