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::ForNextCheckR4 Method (Single, Single, Single)

 

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

Checks for valid values for the loop counter, Step, and To values.

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

public:
static bool ForNextCheckR4(
	float count,
	float limit,
	float StepValue
)

Parameters

count
Type: System::Single

Required. A Single value that represents the initial value passed for the loop counter variable.

limit
Type: System::Single

Required. A Single value that represents the value passed by using the To keyword.

StepValue
Type: System::Single

Required. A Single value that represents the value passed by using the Step keyword.

Return Value

Type: System::Boolean

True if StepValue is greater than zero and count is less than or equal to limit, or if StepValue is less than or equal to zero and count is greater than or equal to limit; otherwise, False.

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