Export (0) Print
Expand All

ObjectFlowControl.ForLoopControl.ForNextCheckDec Method

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)

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.

This class supports the Visual Basic compiler and is not intended to be used directly from your code.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft