Table of Contents

Operator operator !=

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

operator !=(MongoIdentity, MongoIdentity)

Compares two MongoIdentity values.

public static bool operator !=(MongoIdentity lhs, MongoIdentity rhs)

Parameters

lhs MongoIdentity

The first MongoIdentity.

rhs MongoIdentity

The other MongoIdentity.

Returns

bool

True if the two MongoIdentity values are not equal (or one is null and the other is not).