Table of Contents

Class BsonMinKey

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Represents the BSON MinKey value.

[Serializable]
public class BsonMinKey : BsonValue, IComparable<BsonValue>, IConvertible, IEquatable<BsonValue>, IComparable<BsonMinKey>, IEquatable<BsonMinKey>
Inheritance
BsonMinKey
Implements
Inherited Members
Extension Methods

Properties

BsonType

Gets the BsonType of this BsonValue.

public override BsonType BsonType { get; }

Property Value

BsonType

Value

Gets the singleton instance of BsonMinKey.

public static BsonMinKey Value { get; }

Property Value

BsonMinKey

Methods

CompareTo(BsonMinKey)

Compares this BsonMinKey to another BsonMinKey.

public int CompareTo(BsonMinKey other)

Parameters

other BsonMinKey

The other BsonMinKey.

Returns

int

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

CompareTo(BsonValue)

Compares the BsonMinKey to another BsonValue.

public override int CompareTo(BsonValue other)

Parameters

other BsonValue

The other BsonValue.

Returns

int

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

Equals(BsonMinKey)

Compares this BsonMinKey to another BsonMinKey.

public bool Equals(BsonMinKey rhs)

Parameters

rhs BsonMinKey

The other BsonMinKey.

Returns

bool

True if the two BsonMinKey values are equal.

Equals(object)

Compares this BsonMinKey to another object.

public override bool Equals(object obj)

Parameters

obj object

The other object.

Returns

bool

True if the other object is a BsonMinKey and equal to this one.

GetHashCode()

Gets the hash code.

public override int GetHashCode()

Returns

int

The hash code.

ToString()

Returns a string representation of the value.

public override string ToString()

Returns

string

A string representation of the value.

Operators

operator ==(BsonMinKey, BsonMinKey)

Compares two BsonMinKey values.

public static bool operator ==(BsonMinKey lhs, BsonMinKey rhs)

Parameters

lhs BsonMinKey

The first BsonMinKey.

rhs BsonMinKey

The other BsonMinKey.

Returns

bool

True if the two BsonMinKey values are equal according to ==.

operator !=(BsonMinKey, BsonMinKey)

Compares two BsonMinKey values.

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

Parameters

lhs BsonMinKey

The first BsonMinKey.

rhs BsonMinKey

The other BsonMinKey.

Returns

bool

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