Muokkaa

Jaa


FlowControl.ForNextCheckR4(Single, Single, Single) 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 ForNextCheckR4(float count, float limit, float StepValue);
public static bool ForNextCheckR4 (float count, float limit, float StepValue);
static member ForNextCheckR4 : single * single * single -> bool
Public Function ForNextCheckR4 (count As Single, limit As Single, StepValue As Single) As Boolean
Public Shared Function ForNextCheckR4 (count As Single, limit As Single, StepValue As Single) As Boolean

Parameters

count
Single

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

limit
Single

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

StepValue
Single

Required. A Single 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