Redigera

Dela via


SqlDecimal.Equality(SqlDecimal, SqlDecimal) Operator

Definition

Performs a logical comparison of the two SqlDecimal operands to determine whether they are equal.

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

Parameters

x
SqlDecimal

A SqlDecimal structure.

y
SqlDecimal

A SqlDecimal structure.

Returns

A SqlBoolean that is True if the two instances are equal or False if the two instances are not equal. If either instance of SqlDecimal is null, the Value of the SqlBoolean will be Null.

Remarks

The equivalent method for this operator is SqlDecimal.Equals(SqlDecimal, SqlDecimal).

Applies to

See also