MongoDB.Driver.Builders.QueryConditionList.NE C# (CSharp) Method

NE() public method

Adds a $ne test to the query.
public NE ( BsonValue value ) : QueryConditionList
value BsonValue The value to compare to.
return QueryConditionList
        public QueryConditionList NE(
            BsonValue value
        ) {
            conditions.Add("$ne", value);
            return this;
        }