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