Partager via


ObjectFlowControl.ForLoopControl.ForNextCheckR8 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 ForNextCheckR8 ( _
    count As Double, _
    limit As Double, _
    StepValue As Double _
) As Boolean
public static bool ForNextCheckR8(
    double count,
    double limit,
    double StepValue
)

Parameters

  • count
    Type: System.Double
    Required. A Double value that represents the initial value passed for the loop counter variable.
  • limit
    Type: System.Double
    Required. A Double value that represents the value passed by using the To keyword.
  • StepValue
    Type: System.Double
    Required. A Double 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 if 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.