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