Edit

Share via


SqlBoolean.Equality(SqlBoolean, SqlBoolean) Operator

Definition

Compares two instances of SqlBoolean for equality.

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

Parameters

Returns

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

Remarks

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

Applies to

See also