SqlDouble.Equals SqlDouble.Equals SqlDouble.Equals SqlDouble.Equals Method

定义

返回一个值,指示 SqlDouble 的实例表示的值与所提供的对象参数表示的值是否相等。Returns a value that indicates whether an instance of SqlDouble and the supplied object parameter represent the same value.

重载

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

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

Equals(SqlDouble, SqlDouble) Equals(SqlDouble, SqlDouble) Equals(SqlDouble, SqlDouble) Equals(SqlDouble, SqlDouble)

SqlDouble 的两个实例执行逻辑比较,以确定它们是否相等。Performs a logical comparison on two instances of SqlDouble to determine whether they are equal.

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

将提供的对象参数与 Value 对象的 SqlDouble 属性进行比较。Compares the supplied object parameter to the Value property of the SqlDouble 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 Object Object Object

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

返回

如果两个值相等,则为 truetrue if the two values are equal. 否则为 falseOtherwise, false.

另请参阅

Equals(SqlDouble, SqlDouble) Equals(SqlDouble, SqlDouble) Equals(SqlDouble, SqlDouble) Equals(SqlDouble, SqlDouble)

SqlDouble 的两个实例执行逻辑比较,以确定它们是否相等。Performs a logical comparison on two instances of SqlDouble to determine whether they are equal.

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

参数

x
SqlDouble SqlDouble SqlDouble SqlDouble

一个 SqlDouble 结构。A SqlDouble structure.

y
SqlDouble SqlDouble SqlDouble SqlDouble

一个 SqlDouble 结构。A SqlDouble structure.

返回

如果两个值相等,则为 truetrue if the two values are equal. 否则为 falseOtherwise, false.

另请参阅

适用于