ObjectFlowControl.ForLoopControl.ForNextCheckR8 Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks for valid values for the loop counter, Step, and To values.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static bool ForNextCheckR8(double count, double limit, double StepValue);
public static bool ForNextCheckR8(double count, double limit, double StepValue);
static member ForNextCheckR8 : double * double * double -> bool
Public Shared Function ForNextCheckR8 (count As Double, limit As Double, StepValue As Double) As Boolean
Parameters
- count
- Double
Required. A Double value that represents the initial value passed for the loop counter variable.
- StepValue
- Double
Required. A Double value that represents the value passed by using the Step keyword.
Returns
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.
Remarks
This class supports the Visual Basic compiler and is not intended to be used directly from your code.