SqlSingle.CompareTo Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares this instance to the supplied object and returns an indication of their relative values.
CompareTo(SqlSingle) |
Compares this SqlSingle instance to the supplied SqlSingle and returns an indication of their relative values. |
CompareTo(Object) |
Compares this SqlSingle instance to the supplied Object and returns an indication of their relative values. |
- Source:
- SQLSingle.cs
- Source:
- SQLSingle.cs
- Source:
- SQLSingle.cs
public:
int CompareTo(System::Data::SqlTypes::SqlSingle value);
public int CompareTo (System.Data.SqlTypes.SqlSingle value);
member this.CompareTo : System.Data.SqlTypes.SqlSingle -> int
Public Function CompareTo (value As SqlSingle) As Integer
Parameters
Returns
A signed number that indicates the relative values of the instance and the object.
Return Value | Condition |
---|---|
Less than zero | This instance is less than the object. |
Zero | This instance is the same as the object. |
Greater than zero | This instance is greater than the object
-or- The object is a null reference ( |
See also
Applies to
.NET 9 וגירסאות אחרות
מוצר | גירסאות |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- Source:
- SQLSingle.cs
- Source:
- SQLSingle.cs
- Source:
- SQLSingle.cs
public:
virtual int CompareTo(System::Object ^ value);
public int CompareTo (object? value);
public int CompareTo (object value);
abstract member CompareTo : obj -> int
override this.CompareTo : obj -> int
Public Function CompareTo (value As Object) As Integer
Parameters
Returns
A signed number that indicates the relative values of the instance and the object.
Return value | Condition |
---|---|
Less than zero | This instance is less than the object. |
Zero | This instance is the same as the object. |
Greater than zero | This instance is greater than the object
-or- The object is a null reference ( |
Implements
See also
Applies to
.NET 9 וגירסאות אחרות
מוצר | גירסאות |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
משוב של .NET
.NET הוא פרויקט קוד פתוח. בחר קישור כדי לספק משוב: