Compartilhar via


LayoutDoubleUtil.LessThan Method

Determines whether the first specified value is less than the second specified value and the values are not within 0.00000153 of each other.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Shared Function LessThan ( _
    value1 As Double, _
    value2 As Double _
) As Boolean
public static bool LessThan(
    double value1,
    double value2
)
public:
static bool LessThan(
    double value1, 
    double value2
)
static member LessThan : 
        value1:float * 
        value2:float -> bool
public static function LessThan(
    value1 : double, 
    value2 : double
) : boolean

Parameters

  • value1
    Type: Double

    The first value for comparison.

  • value2
    Type: Double

    The second value for comparison.

Return Value

Type: Boolean
Returns true if the first value is less than the second value and the values are not within 0.00000153 of each other; otherwise returns false.

.NET Framework Security

See Also

Reference

LayoutDoubleUtil Class

Microsoft.VisualStudio.PlatformUI Namespace