Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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,
	Object^% LoopForResult,
	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:
© 2017 Microsoft