แก้ไข

แชร์ผ่าน


ObjectFlowControl.ForLoopControl.ForNextCheckDec 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 ForNextCheckDec(System::Decimal count, System::Decimal limit, System::Decimal StepValue);
public static bool ForNextCheckDec (decimal count, decimal limit, decimal StepValue);
static member ForNextCheckDec : decimal * decimal * decimal -> bool
Public Shared Function ForNextCheckDec (count As Decimal, limit As Decimal, StepValue As Decimal) As Boolean

Parameters

count
Decimal

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

limit
Decimal

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

StepValue
Decimal

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