SqlInt64.Equals Method

Definition

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

Overloads

Equals(SqlInt64)

Indicates whether the current instance is equal to another instance of the same type.

Equals(Object)

Compares the supplied object parameter to the Value property of the SqlInt64 object.

Equals(SqlInt64, SqlInt64)

Performs a logical comparison of the two SqlInt64 parameters to determine whether they are equal.

Equals(SqlInt64)

Indicates whether the current instance is equal to another instance of the same type.

public:
 virtual bool Equals(System::Data::SqlTypes::SqlInt64 other);
public bool Equals (System.Data.SqlTypes.SqlInt64 other);
override this.Equals : System.Data.SqlTypes.SqlInt64 -> bool
Public Function Equals (other As SqlInt64) As Boolean

Parameters

other
SqlInt64

An instance to compare with this instance.

Returns

Boolean

true if the current instance is equal to the other instance; otherwise, false.

Implements

Applies to

Equals(Object)

Compares the supplied object parameter to the Value property of the SqlInt64 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

Boolean

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

See also

Applies to

Equals(SqlInt64, SqlInt64)

Performs a logical comparison of the two SqlInt64 parameters to determine whether they are equal.

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

Parameters

x
SqlInt64

A SqlInt64 structure.

y
SqlInt64

A SqlInt64 structure.

Returns

SqlBoolean

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

See also

Applies to