Table of Contents

Class BsonUndefined

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Represents the BSON undefined value.

public class BsonUndefined : BsonValue, IComparable<BsonValue>, IConvertible, IEquatable<BsonValue>, IComparable<BsonUndefined>, IEquatable<BsonUndefined>
Inheritance
BsonUndefined
Implements
Inherited Members
Extension Methods

Properties

BsonType

Gets the BsonType of this BsonValue.

Value

Gets the singleton instance of BsonUndefined.

Methods

CompareTo(BsonUndefined)

Compares this BsonUndefined to another BsonUndefined.

CompareTo(BsonValue)

Compares the BsonUndefined to another BsonValue.

Equals(BsonUndefined)

Compares this BsonUndefined to another BsonUndefined.

Equals(object)

Compares this BsonUndefined to another object.

GetHashCode()

Gets the hash code.

ToBoolean()

Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness).

ToString()

Returns a string representation of the value.

Operators

operator ==(BsonUndefined, BsonUndefined)

Compares two BsonUndefined values.

operator !=(BsonUndefined, BsonUndefined)

Compares two BsonUndefined values.