SqlDecimal.CompareTo Método
Definição
Compara essa instância com um objeto fornecido e retorna uma indicação de seus valores relativos.Compares this instance to the supplied object and returns an indication of their relative values.
Sobrecargas
CompareTo(SqlDecimal) |
Compara esta instância SqlDecimal com o objeto SqlDecimal fornecido e retorna uma indicação de seus valores relativos.Compares this SqlDecimal instance to the supplied SqlDecimal object and returns an indication of their relative values. |
CompareTo(Object) |
Compara esta instância SqlDecimal com o Object fornecido e retorna uma indicação de seus valores relativos.Compares this SqlDecimal instance to the supplied Object and returns an indication of their relative values. |
CompareTo(SqlDecimal)
Compara esta instância SqlDecimal com o objeto SqlDecimal fornecido e retorna uma indicação de seus valores relativos.Compares this SqlDecimal instance to the supplied SqlDecimal object and returns an indication of their relative values.
public:
int CompareTo(System::Data::SqlTypes::SqlDecimal value);
public int CompareTo (System.Data.SqlTypes.SqlDecimal value);
member this.CompareTo : System.Data.SqlTypes.SqlDecimal -> int
Public Function CompareTo (value As SqlDecimal) As Integer
Parâmetros
- value
- SqlDecimal
O SqlDecimal a ser comparado.The SqlDecimal to be compared.
Retornos
Um número com sinal que indica os valores relativos da instância e do objeto.A signed number that indicates the relative values of the instance and the object.
Valor retornadoReturn value | CondiçãoCondition |
---|---|
Menor que zeroLess than zero | Esta instância é menor do que o objeto.This instance is less than the object. |
ZeroZero | Esta instância é igual ao objeto.This instance is the same as the object. |
Maior que zeroGreater than zero | Esta instância é maior do que o objetoThis instance is greater than the object
- ou --or-
O objeto é uma referência nula (Nothing no Visual Basic)The object is a null reference (Nothing in Visual Basic)
|
Veja também
CompareTo(Object)
Compara esta instância SqlDecimal com o Object fornecido e retorna uma indicação de seus valores relativos.Compares this SqlDecimal instance to the supplied Object and returns an indication of their relative values.
public:
virtual int CompareTo(System::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
Parâmetros
Retornos
Um número com sinal que indica os valores relativos da instância e do objeto.A signed number that indicates the relative values of the instance and the object.
Valor de RetornoReturn Value | CondiçãoCondition |
---|---|
Menor que zeroLess than zero | Esta instância é menor do que o objeto.This instance is less than the object. |
ZeroZero | Esta instância é igual ao objeto.This instance is the same as the object. |
Maior que zeroGreater than zero | Esta instância é maior do que o objetoThis instance is greater than the object
- ou --or-
O objeto é uma referência nula (Nothing no Visual Basic)The object is a null reference (Nothing in Visual Basic)
|