ObjectFlowControl.ForLoopControl.ForNextCheckDec 方法

定義

檢查迴圈計數器的有效值, Step以及 To 值。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

參數

count
Decimal

必須的。 代表 Decimal 迴圈計數器變數所傳遞的初始值。

limit
Decimal

必須的。 一個 Decimal 代表使用 To 關鍵字傳遞的值。

StepValue
Decimal

必須的。 一個 Decimal 代表使用 Step 關鍵字傳遞的值。

傳回

TrueStepValue 大於零且 count 小於或等 limit 於 或 或 StepValue 小於或等於零 且 count 大於或等 limit於 ;否則, False

備註

這門課支援 Visual Basic 編譯器,並非直接從你的程式碼中使用。

適用於

另請參閱