SqlDecimal.Equality(SqlDecimal, SqlDecimal) Operátor

Definice

Provede logické porovnání obou SqlDecimal operandů a určí, zda jsou si rovny.

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

A SqlBoolean je True to, pokud jsou si dvě instance rovny nebo False pokud nejsou stejné. Pokud je některý z instancí SqlDecimal null, Value bude Nullhodnota SqlBoolean .

Poznámky

Ekvivalentní metoda pro tento operátor je SqlDecimal.Equals(SqlDecimal, SqlDecimal).

Platí pro

Viz také