SqlDecimal.Equals Método
Definição
Retorna um valor que indica se uma instância de SqlDecimal e o parâmetro de objeto fornecido representam o mesmo valor.Returns a value that indicates whether an instance of SqlDecimal and the supplied object parameter represent the same value.
Sobrecargas
| Equals(Object) |
Compara o parâmetro Object fornecido com a propriedade Value da instância SqlDecimal.Compares the supplied Object parameter to the Value property of the SqlDecimal instance. |
| Equals(SqlDecimal, SqlDecimal) |
Executa uma comparação lógica dos dois operandos SqlDecimal para determinar se eles são iguais.Performs a logical comparison of the two SqlDecimal operands to determine whether they are equal. |
Equals(Object)
Compara o parâmetro Object fornecido com a propriedade Value da instância SqlDecimal.Compares the supplied Object parameter to the Value property of the SqlDecimal instance.
public:
override bool Equals(System::Object ^ value);
public override bool Equals (object value);
public override bool Equals (object? value);
override this.Equals : obj -> bool
Public Overrides Function Equals (value As Object) As Boolean
Parâmetros
Retornos
true se o objeto for uma instância de SqlDecimal e os dois forem iguais.true if object is an instance of SqlDecimal and the two are equal. Caso contrário, false.Otherwise, false.
Aplica-se a
Equals(SqlDecimal, SqlDecimal)
Executa uma comparação lógica dos dois operandos SqlDecimal para determinar se eles são iguais.Performs a logical comparison of the two SqlDecimal operands to determine whether they are equal.
public:
static System::Data::SqlTypes::SqlBoolean Equals(System::Data::SqlTypes::SqlDecimal x, System::Data::SqlTypes::SqlDecimal y);
public static System.Data.SqlTypes.SqlBoolean Equals (System.Data.SqlTypes.SqlDecimal x, System.Data.SqlTypes.SqlDecimal y);
static member Equals : System.Data.SqlTypes.SqlDecimal * System.Data.SqlTypes.SqlDecimal -> System.Data.SqlTypes.SqlBoolean
Public Shared Function Equals (x As SqlDecimal, y As SqlDecimal) As SqlBoolean
Parâmetros
Uma estrutura SqlDecimal.A SqlDecimal structure.
Uma estrutura SqlDecimal.A SqlDecimal structure.
Retornos
true se os dois valores forem iguais.true if the two values are equal. Caso contrário, false.Otherwise, false. Se uma das instâncias for nula, o valor do SqlDecimal será nulo.If either instance is null, the value of the SqlDecimal will be null.