ObjectFlowControl.ForLoopControl.ForLoopInitObj Method (Object, Object, Object, Object, Object, Object)

 

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

Initializes a For...Next loop.

Namespace:   Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public static bool ForLoopInitObj(
	object Counter,
	object Start,
	object Limit,
	object StepValue,
	ref object LoopForResult,
	ref object CounterResult
)

Parameters

Counter
Type: System.Object

The loop counter variable.

Start
Type: System.Object

The initial value of the loop counter.

Limit
Type: System.Object

The value of the To option.

StepValue
Type: System.Object

The value of the Step option.

LoopForResult
Type: System.Object

An object that contains verified values for loop values.

CounterResult
Type: System.Object

The counter value for the next loop iteration.

Return Value

Type: System.Boolean

False if the loop has terminated; otherwise, True.

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone
Available since 8.1
Return to top
Show: