Compartilhar via


ExtensionMethods.IsSignificantlyLessThan Method

Determines whether the first value is significantly less than the second value.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function IsSignificantlyLessThan ( _
    value1 As Double, _
    value2 As Double _
) As Boolean
public static bool IsSignificantlyLessThan(
    this double value1,
    double value2
)
[ExtensionAttribute]
public:
static bool IsSignificantlyLessThan(
    double value1, 
    double value2
)
static member IsSignificantlyLessThan : 
        value1:float * 
        value2:float -> bool
public static function IsSignificantlyLessThan(
    value1 : double, 
    value2 : double
) : boolean

Parameters

  • value1
    Type: Double

    Value to be compared

  • value2
    Type: Double

    Other double to be compared.

Return Value

Type: Boolean
True if value1 is significantly less than value2, false otherwise.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Double. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

.NET Framework Security

See Also

Reference

ExtensionMethods Class

Microsoft.VisualStudio.PlatformUI Namespace