SqlDecimal.Equals SqlDecimal.Equals SqlDecimal.Equals SqlDecimal.Equals Method

Definition

Returns a value that indicates whether an instance of SqlDecimal and the supplied object parameter represent the same value.

Overloads

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

Compares the supplied Object parameter to the Value property of the SqlDecimal instance.

Equals(SqlDecimal, SqlDecimal) Equals(SqlDecimal, SqlDecimal) Equals(SqlDecimal, SqlDecimal) Equals(SqlDecimal, SqlDecimal)

Performs a logical comparison of the two SqlDecimal operands to determine whether they are equal.

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

Compares the supplied Object parameter to the Value property of the SqlDecimal instance.

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

Parameters

value
Object Object Object Object

The Object to be compared.

Returns

true if object is an instance of SqlDecimal and the two are equal. Otherwise, false.

See also

Equals(SqlDecimal, SqlDecimal) Equals(SqlDecimal, SqlDecimal) Equals(SqlDecimal, SqlDecimal) Equals(SqlDecimal, SqlDecimal)

Performs a logical comparison of the two SqlDecimal operands to determine whether they are equal.

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

Parameters

Returns

true if the two values are equal. Otherwise, false. If either instance is null, the value of the SqlDecimal will be null.

See also

Applies to