Bewerken

Share via


SqlInt32.Equals Method

Definition

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

Overloads

Equals(SqlInt32, SqlInt32)

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

Equals(Object)

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

Equals(SqlInt32)

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

Equals(SqlInt32, SqlInt32)

Source:
SQLInt32.cs
Source:
SQLInt32.cs
Source:
SQLInt32.cs

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

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

Parameters

x
SqlInt32

A SqlInt32 structure.

y
SqlInt32

A SqlInt32 structure.

Returns

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

See also

Applies to

Equals(Object)

Source:
SQLInt32.cs
Source:
SQLInt32.cs
Source:
SQLInt32.cs

Compares the supplied object parameter to the Value property of the SqlInt32 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 SqlInt32 and the two are equal; otherwise false.

See also

Applies to

Equals(SqlInt32)

Source:
SQLInt32.cs
Source:
SQLInt32.cs
Source:
SQLInt32.cs

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

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

Parameters

other
SqlInt32

An instance to compare with this instance.

Returns

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

Implements

Applies to