Table of Contents

Operator operator !=

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

operator !=(MongoUser, MongoUser)

Determines whether two specified MongoUser objects have different values.

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

Parameters

lhs MongoUser

The first value to compare, or null.

rhs MongoUser

The second value to compare, or null.

Returns

bool

True if the value of lhs is different from the value of rhs; otherwise, false.