Table of Contents

Operator operator !=

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

operator !=(MongoDBRef, MongoDBRef)

Determines whether two specified MongoDBRef objects have different values.

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

Parameters

lhs MongoDBRef

The first value to compare, or null.

rhs MongoDBRef

The second value to compare, or null.

Returns

bool

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