ObjectFlowControl.ForLoopControl.ForNextCheckR8 Method

Definition

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.

limit
Double

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

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.

Applies to

See also