Table of Contents

Operator operator >

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

operator >(BsonValue, BsonValue)

Compares two BsonValues.

public static bool operator >(BsonValue lhs, BsonValue rhs)

Parameters

lhs BsonValue

The first BsonValue.

rhs BsonValue

The other BsonValue.

Returns

bool

True if the first BsonValue is greater than the other one.