SqlInt16.Equals SqlInt16.Equals SqlInt16.Equals SqlInt16.Equals Method

Definition

Performs a logical comparison of two structures to determine whether they are equal.

Overloads

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Compares the specified object to the Value property of the SqlInt16 object.

Equals(SqlInt16, SqlInt16) Equals(SqlInt16, SqlInt16) Equals(SqlInt16, SqlInt16) Equals(SqlInt16, SqlInt16)

Performs a logical comparison of two SqlInt16 structures to determine whether they are equal.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Compares the specified object to the Value property of the SqlInt16 object.

public:
 override bool Equals(System::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 Object Object Object

The object to be compared.

Returns

true if object is an instance of SqlInt16 and the two are equal; otherwise false.

See also

Equals(SqlInt16, SqlInt16) Equals(SqlInt16, SqlInt16) Equals(SqlInt16, SqlInt16) Equals(SqlInt16, SqlInt16)

Performs a logical comparison of two SqlInt16 structures to determine whether they are equal.

public:
 static System::Data::SqlTypes::SqlBoolean Equals(System::Data::SqlTypes::SqlInt16 x, System::Data::SqlTypes::SqlInt16 y);
public static System.Data.SqlTypes.SqlBoolean Equals (System.Data.SqlTypes.SqlInt16 x, System.Data.SqlTypes.SqlInt16 y);
static member Equals : System.Data.SqlTypes.SqlInt16 * System.Data.SqlTypes.SqlInt16 -> System.Data.SqlTypes.SqlBoolean
Public Shared Function Equals (x As SqlInt16, y As SqlInt16) As SqlBoolean

Parameters

Returns

true if the two values are equal. Otherwise, false. If either instance is null, then the SqlInt16 will be null.

See also

Applies to