SqlDecimal.Equality(SqlDecimal, SqlDecimal) Operátor

Definice

Provede logické porovnání obou SqlDecimal operandů, aby bylo možné určit, zda jsou stejné.

public:
 static System::Data::SqlTypes::SqlBoolean operator ==(System::Data::SqlTypes::SqlDecimal x, System::Data::SqlTypes::SqlDecimal y);
public static System.Data.SqlTypes.SqlBoolean operator ==(System.Data.SqlTypes.SqlDecimal x, System.Data.SqlTypes.SqlDecimal y);
static member ( = ) : System.Data.SqlTypes.SqlDecimal * System.Data.SqlTypes.SqlDecimal -> System.Data.SqlTypes.SqlBoolean
Public Shared Operator == (x As SqlDecimal, y As SqlDecimal) As SqlBoolean

Parametry

x
SqlDecimal

Struktura SqlDecimal .

y
SqlDecimal

Struktura SqlDecimal .

Návraty

To SqlBoolean znamená True , že jsou tyto dvě instance stejné nebo False pokud tyto dvě instance nejsou stejné. Pokud je některý z SqlDecimal instancí null, Value bude SqlBooleanhodnota Null .

Poznámky

Ekvivalentní metoda tohoto operátoru je SqlDecimal.Equals(SqlDecimal, SqlDecimal).

Platí pro

Viz také