ObjectFlowControl.ForLoopControl.ForNextCheckR4 Method (Single, Single, Single)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: