SqlDouble.CompareTo 方法
定义
重载
| CompareTo(SqlDouble) |
将此 SqlDouble 实例与所提供的 SqlDouble 进行比较,并返回二者相对值的指示值。Compares this SqlDouble instance to the supplied SqlDouble and returns an indication of their relative values. |
| CompareTo(Object) |
将此 SqlDouble 实例与所提供的 Object 进行比较,并返回二者相对值的指示值。Compares this SqlDouble instance to the supplied Object and returns an indication of their relative values. |
CompareTo(SqlDouble)
public:
int CompareTo(System::Data::SqlTypes::SqlDouble value);
public int CompareTo (System.Data.SqlTypes.SqlDouble value);
member this.CompareTo : System.Data.SqlTypes.SqlDouble -> int
Public Function CompareTo (value As SqlDouble) As Integer
参数
返回
一个有符号的数字,它指示该实例和对象的相对值。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-
该对象是空引用(在 Visual Basic 中为 Nothing)The object is a null reference (Nothing in Visual Basic)
|
适用于
CompareTo(Object)
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
参数
返回
一个有符号的数字,它指示该实例和对象的相对值。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-
该对象是空引用(在 Visual Basic 中为 Nothing)。The object is a null reference (Nothing in Visual Basic).
|