BsonDateTimeEquality Operator |
Compares two BsonDateTime values.
Namespace:
MongoDB.Bson
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax public static bool operator ==(
BsonDateTime lhs,
BsonDateTime rhs
)
Public Shared Operator = (
lhs As BsonDateTime,
rhs As BsonDateTime
) As Boolean
static let inline (=)
lhs : BsonDateTime *
rhs : BsonDateTime : bool
Parameters
- lhs
- Type: MongoDB.BsonBsonDateTime
The first BsonDateTime. - rhs
- Type: MongoDB.BsonBsonDateTime
The other BsonDateTime.
Return Value
Type:
BooleanTrue if the two BsonDateTime values are equal according to ==.
See Also