BsonDateTimeEquality Operator |
Compares two BsonDateTime values.
Namespace: MongoDB.BsonAssembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.2.0
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