Table of Contents

Operator operator !=

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

operator !=(BsonDateTime, BsonDateTime)

Compares two BsonDateTime values.

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

Parameters

lhs BsonDateTime

The first BsonDateTime.

rhs BsonDateTime

The other BsonDateTime.

Returns

bool

True if the two BsonDateTime values are not equal according to ==.