Table of Contents

Method CompareTypeTo

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

CompareTypeTo(BsonValue)

Compares the type of this BsonValue to the type of another BsonValue.

public int CompareTypeTo(BsonValue other)

Parameters

other BsonValue

The other BsonValue.

Returns

int

A 32-bit signed integer that indicates whether the type of this BsonValue is less than, equal to, or greather than the type of the other BsonValue.