ObjectFlowControl.ForLoopControl.ForNextCheckDec Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Checks for valid values for the loop counter, Step, and To values.
Namespace: Microsoft.VisualBasic.CompilerServices
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
Syntax
'Declaration
Public Shared Function ForNextCheckDec ( _
count As Decimal, _
limit As Decimal, _
StepValue As Decimal _
) As Boolean
public static bool ForNextCheckDec(
decimal count,
decimal limit,
decimal StepValue
)
Parameters
- count
Type: System.Decimal
Required. A Decimal value that represents the initial value passed for the loop counter variable.
- limit
Type: System.Decimal
Required. A Decimal value that represents the value passed by using the To keyword.
- StepValue
Type: System.Decimal
Required. A Decimal value that represents the value passed by using the Step keyword.
Return Value
Type: System.Boolean
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.
Version Information
Silverlight
Supported in: 5, 4, 3
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.