Class BsonMaxKey
Represents the BSON MaxKey value.
[Serializable]
public class BsonMaxKey : BsonValue, IComparable<BsonValue>, IConvertible, IEquatable<BsonValue>, IComparable<BsonMaxKey>, IEquatable<BsonMaxKey>
- Inheritance
-
Bson
Max Key
- Implements
- Inherited Members
- Extension Methods
Properties
BsonType
Gets the BsonType of this BsonValue.
Property Value
Value
Gets the singleton instance of BsonMaxKey.
Property Value
Methods
CompareTo(BsonMaxKey)
Compares this BsonMaxKey to another BsonMaxKey.
Parameters
other
BsonMax Key The other BsonMaxKey.
Returns
- int
A 32-bit signed integer that indicates whether this BsonMaxKey is less than, equal to, or greather than the other.
CompareTo(BsonValue)
Compares the BsonMaxKey to another BsonValue.
Parameters
other
BsonValue The other BsonValue.
Returns
- int
A 32-bit signed integer that indicates whether this BsonMaxKey is less than, equal to, or greather than the other BsonValue.
Equals(BsonMaxKey)
Compares this BsonMaxKey to another BsonMaxKey.
Parameters
rhs
BsonMax Key The other BsonMaxKey.
Returns
- bool
True if the two BsonMaxKey values are equal.
Equals(object)
Compares this BsonMaxKey to another object.
Parameters
obj
objectThe other object.
Returns
- bool
True if the other object is a BsonMaxKey and equal to this one.
GetHashCode()
Gets the hash code.
Returns
- int
The hash code.
ToString()
Returns a string representation of the value.
Returns
- string
A string representation of the value.
Operators
operator ==(BsonMaxKey, BsonMaxKey)
Compares two BsonMaxKey values.
Parameters
lhs
BsonMax Key The first BsonMaxKey.
rhs
BsonMax Key The other BsonMaxKey.
Returns
- bool
True if the two BsonMaxKey values are equal according to ==.
operator !=(BsonMaxKey, BsonMaxKey)
Compares two BsonMaxKey values.
Parameters
lhs
BsonMax Key The first BsonMaxKey.
rhs
BsonMax Key The other BsonMaxKey.
Returns
- bool
True if the two BsonMaxKey values are not equal according to ==.