Operator operator !=
operator !=(BsonObjectId, BsonObjectId)
Compares two BsonObjectId values.
public static bool operator !=(BsonObjectId lhs, BsonObjectId rhs)
Parameters
lhs
BsonObjectIdThe first BsonObjectId.
rhs
BsonObjectIdThe other BsonObjectId.
Returns
- bool
True if the two BsonObjectId values are not equal according to ==.