Class BsonNull
Represents the BSON Null value.
[Serializable]
public class BsonNull : BsonValue, IComparable<BsonValue>, IConvertible, IEquatable<BsonValue>, IComparable<BsonNull>, IEquatable<BsonNull>
- Inheritance
-
BsonNull
- Implements
- Inherited Members
- Extension Methods
Properties
- BsonType
Gets the BsonType of this BsonValue.
- Value
Gets the singleton instance of BsonNull.
Methods
- CompareTo(BsonNull)
Compares this BsonNull to another BsonNull.
- CompareTo(BsonValue)
Compares the BsonNull to another BsonValue.
- Equals(BsonNull)
Compares this BsonNull to another BsonNull.
- Equals(object)
Compares this BsonNull to another object.
- GetHashCode()
Gets the hash code.
- ToBoolean()
Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness).
- ToNullableLocalTime()
Converts this BsonValue to a DateTime? in local time.
- ToNullableUniversalTime()
Converts this BsonValue to a DateTime? in UTC.
- ToString()
Returns a string representation of the value.
Operators
- operator ==(BsonNull, BsonNull)
Compares two BsonNull values.
- operator !=(BsonNull, BsonNull)
Compares two BsonNull values.