SqlDecimal.Equals Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a value that indicates whether an instance of SqlDecimal and the supplied object parameter represent the same value.
Overloads
| Name | Description |
|---|---|
| Equals(Object) |
Compares the supplied Object parameter to the Value property of the SqlDecimal instance. |
| Equals(SqlDecimal, SqlDecimal) |
Performs a logical comparison of the two SqlDecimal operands to determine whether they are equal. |
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
Returns
true if object is an instance of SqlDecimal and the two are equal. Otherwise, false.
See also
Applies to
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
A SqlDecimal structure.
A SqlDecimal structure.
Returns
true if the two values are equal. Otherwise, false. If either instance is null, the value of the SqlDecimal will be null.