ObjectFlowControl.ForLoopControl.ForNextCheckDec(Decimal, Decimal, Decimal) Método

Definição

Verifica os valores válidos para o contador de loops, os valores Step e To.Checks for valid values for the loop counter, Step, and To values.

Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código.

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

Parâmetros

count
Decimal

Obrigatórios.Required. Um valor Decimal que representa o valor inicial passado para a variável de contador de loops.A Decimal value that represents the initial value passed for the loop counter variable.

limit
Decimal

Obrigatórios.Required. Um valor Decimal que representa o valor passado usando a palavra-chave To.A Decimal value that represents the value passed by using the To keyword.

StepValue
Decimal

Obrigatórios.Required. Um valor Decimal que representa o valor passado usando a palavra-chave Step.A Decimal value that represents the value passed by using the Step keyword.

Retornos

Boolean

True se StepValue for maior que zero e count for menor ou igual a limit; ou se StepValue for menor ou igual a zero e count for maior ou igual a limit; caso contrário, False.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.

Comentários

Essa classe dá suporte ao compilador Visual Basic e não se destina a ser usada diretamente do seu código.This class supports the Visual Basic compiler and is not intended to be used directly from your code.

Aplica-se a