Operator operator !=
operator !=(BsonElement, BsonElement)
Compares two BsonElements.
public static bool operator !=(BsonElement lhs, BsonElement rhs)
Parameters
lhsBsonElementThe first BsonElement.
rhsBsonElementThe other BsonElement.
Returns
- bool
True if the two BsonElements are not equal (or one is null and the other is not).