SqlString.Equals Método
Definição
Executa uma comparação lógica de duas estruturas para determinar se elas são iguais.Performs a logical comparison of two structures to determine whether they are equal.
Sobrecargas
| Equals(SqlString, SqlString) |
Executa uma comparação lógica dos dois operandos SqlString para determinar se eles são iguais.Performs a logical comparison of the two SqlString operands to determine whether they are equal. |
| Equals(Object) |
Compara o parâmetro de objeto fornecido com a propriedade Value do objeto SqlString.Compares the supplied object parameter to the Value property of the SqlString object. |
Equals(SqlString, SqlString)
public:
static System::Data::SqlTypes::SqlBoolean Equals(System::Data::SqlTypes::SqlString x, System::Data::SqlTypes::SqlString y);
public static System.Data.SqlTypes.SqlBoolean Equals (System.Data.SqlTypes.SqlString x, System.Data.SqlTypes.SqlString y);
static member Equals : System.Data.SqlTypes.SqlString * System.Data.SqlTypes.SqlString -> System.Data.SqlTypes.SqlBoolean
Public Shared Function Equals (x As SqlString, y As SqlString) As SqlBoolean
Parâmetros
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 SqlString será nulo.If either instance is null, then the SqlString will be null.
Aplica-se a
Equals(Object)
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
- value
- Object
O objeto a ser comparado.The object to be compared.
Retornos
true se o objeto for uma instância de SqlString e os dois forem iguais; caso contrário, false.true if the object is an instance of SqlString and the two are equal; otherwise, false.