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(SqlBoolean) |
Indicates whether the current instance is equal to another instance of the same type. |
Equals(Object) |
Compares the supplied object parameter to the SqlBoolean. |
Equals(SqlBoolean, SqlBoolean) |
Compares two SqlBoolean structures to determine whether they are equal. |
Equals(SqlBoolean)
- Source:
- SQLBoolean.cs
- Source:
- SQLBoolean.cs
- Source:
- SQLBoolean.cs
Indicates whether the current instance is equal to another instance of the same type.
public:
virtual bool Equals(System::Data::SqlTypes::SqlBoolean other);
public bool Equals (System.Data.SqlTypes.SqlBoolean other);
override this.Equals : System.Data.SqlTypes.SqlBoolean -> bool
Public Function Equals (other As SqlBoolean) As Boolean
Parameters
- other
- SqlBoolean
An instance to compare with this instance.
Returns
true
if the current instance is equal to the other instance; otherwise, false
.
Implements
Applies to
Equals(Object)
- Source:
- SQLBoolean.cs
- Source:
- SQLBoolean.cs
- Source:
- SQLBoolean.cs
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)
- Source:
- SQLBoolean.cs
- Source:
- SQLBoolean.cs
- Source:
- SQLBoolean.cs
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.