MongoDB.Bson.MaterializedOnDemandBsonDocument.CompareTo C# (CSharp) Method

CompareTo() public method

Compares this document to another document.
public CompareTo ( BsonDocument other ) : int
other BsonDocument The other document.
return int
        public override int CompareTo(BsonDocument other)
        {
            EnsureIsMaterialized();
            return base.CompareTo(other);
        }

Same methods

MaterializedOnDemandBsonDocument::CompareTo ( BsonValue other ) : int