Table of Contents

Method NE

Namespace
MongoDB.Driver.Builders
Assembly
MongoDB.Driver.Legacy.dll

NE(string, BsonValue)

Tests that an element does not equal the value (see $ne).

public static IMongoQuery NE(string name, BsonValue value)

Parameters

name string

The name of the element to test.

value BsonValue

The value.

Returns

IMongoQuery

An IMongoQuery.