SqlBoolean.Equals Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares two SqlBoolean structures to determine whether they are equal.
Overloads
| Equals(Object) |
Compares the supplied object parameter to the SqlBoolean. |
| Equals(SqlBoolean, SqlBoolean) |
Compares two SqlBoolean structures to determine whether they are equal. |
Equals(Object)
Compares the supplied object parameter to the SqlBoolean.
public:
override bool Equals(System::Object ^ value);
public override bool Equals (object value);
public override bool Equals (object? value);
override this.Equals : obj -> bool
Public Overrides Function Equals (value As Object) As Boolean
Parameters
- value
- Object
The object to be compared.
Returns
true if object is an instance of SqlBoolean and the two are equal; otherwise, false.
See also
Applies to
Equals(SqlBoolean, SqlBoolean)
Compares two SqlBoolean structures to determine whether they are equal.
public:
static System::Data::SqlTypes::SqlBoolean Equals(System::Data::SqlTypes::SqlBoolean x, System::Data::SqlTypes::SqlBoolean y);
public static System.Data.SqlTypes.SqlBoolean Equals (System.Data.SqlTypes.SqlBoolean x, System.Data.SqlTypes.SqlBoolean y);
static member Equals : System.Data.SqlTypes.SqlBoolean * System.Data.SqlTypes.SqlBoolean -> System.Data.SqlTypes.SqlBoolean
Public Shared Function Equals (x As SqlBoolean, y As SqlBoolean) As SqlBoolean
Parameters
A SqlBoolean structure.
A SqlBoolean structure.
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.