SqlInt64.Equals 方法

定义

对两个结构执行逻辑比较,以确定它们是否相等。Performs a logical comparison of two structures to determine whether they are equal.

重载

Equals(Object)

将提供的对象参数与 Value 对象的 SqlInt64 属性进行比较。Compares the supplied object parameter to the Value property of the SqlInt64 object.

Equals(SqlInt64, SqlInt64)

对两个 SqlInt64 参数执行逻辑比较,以确定它们是否相等。Performs a logical comparison of the two SqlInt64 parameters to determine whether they are equal.

Equals(Object)

将提供的对象参数与 Value 对象的 SqlInt64 属性进行比较。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);
override this.Equals : obj -> bool
Public Overrides Function Equals (value As Object) As Boolean

参数

value
Object

要比较的对象。The object to be compared.

返回

如果对象是 SqlInt64 的实例并且两者相等,则为 true;否则为 falsetrue if object is an instance of SqlInt64 and the two are equal; otherwise false.

另请参阅

Equals(SqlInt64, 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

参数

x
SqlInt64

一个 SqlInt64 结构。A SqlInt64 structure.

y
SqlInt64

一个 SqlInt64 结构。A SqlInt64 structure.

返回

如果两个值相等,则为 truetrue if the two values are equal. 否则为 falseOtherwise, false. 如果任一实例为 null,则 SqlInt64 将为 null。If either instance is null, then the SqlInt64 will be null.

另请参阅

适用于