SqlString.Equality(SqlString, SqlString) Operator

Definition

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

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

Parameters

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 SqlString 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