Compartir a través de


ObjectFlowControl.ForLoopControl.ForNextCheckR4 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 ForNextCheckR4 ( _
    count As Single, _
    limit As Single, _
    StepValue As Single _
) As Boolean
public static bool ForNextCheckR4(
    float count,
    float limit,
    float StepValue
)

Parameters

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