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

參數

傳回

如果兩個值相等,則為 truetrue if the two values are equal. 否則為 falseOtherwise, false.

另請參閱

適用於