SqlBinary.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 SqlBinary structures to determine whether they are equal.
Overloads
| Equals(Object) |
Compares the supplied object parameter to the Value property of the SqlBinary object. |
| Equals(SqlBinary, SqlBinary) |
Compares two SqlBinary structures to determine whether they are equal. |
Equals(Object)
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 SqlBinary and the two are equal; otherwise false.
See also
Applies to
Equals(SqlBinary, SqlBinary)
Compares two SqlBinary structures to determine whether they are equal.
public:
static System::Data::SqlTypes::SqlBoolean Equals(System::Data::SqlTypes::SqlBinary x, System::Data::SqlTypes::SqlBinary y);
public static System.Data.SqlTypes.SqlBoolean Equals (System.Data.SqlTypes.SqlBinary x, System.Data.SqlTypes.SqlBinary y);
static member Equals : System.Data.SqlTypes.SqlBinary * System.Data.SqlTypes.SqlBinary -> System.Data.SqlTypes.SqlBoolean
Public Shared Function Equals (x As SqlBinary, y As SqlBinary) As SqlBoolean
Parameters
Returns
true if the two values are equal. Otherwise, false. If either instance is null, then the SqlBinary will be null.