SqlBoolean.Equals Method

Definition

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

Boolean

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

x
SqlBoolean

A SqlBoolean structure.

y
SqlBoolean

A SqlBoolean structure.

Returns

SqlBoolean

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.

See also

Applies to