Decimal128Equals Method (Decimal128, Decimal128) |
Determines whether the specified Decimal128 instances are considered equal.
Namespace:
MongoDB.Bson
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax public static bool Equals(
Decimal128 x,
Decimal128 y
)
Public Shared Function Equals (
x As Decimal128,
y As Decimal128
) As Boolean
static member Equals :
x : Decimal128 *
y : Decimal128 -> bool
Parameters
- x
- Type: MongoDB.BsonDecimal128
The first Decimal128 object to compare. - y
- Type: MongoDB.BsonDecimal128
The second Decimal128 object to compare.
Return Value
Type:
BooleanTrue if the objects are considered equal; otherwise false. If both x and y are null, the method returns true.
See Also