Struct BsonElement
Represents a BSON element.
public struct BsonElement : IComparable<BsonElement>, IEquatable<BsonElement>
- Implements
- Inherited Members
- Extension Methods
Constructors
- BsonElement(string, BsonValue)
Initializes a new instance of the BsonElement class.
Properties
- Name
Gets the name of the element.
- Value
Gets or sets the value of the element.
Methods
- Clone()
Creates a shallow clone of the element (see also DeepClone).
- CompareTo(BsonElement)
Compares this BsonElement to another BsonElement.
- DeepClone()
Creates a deep clone of the element (see also Clone).
- Equals(BsonElement)
Compares this BsonElement to another BsonElement.
- Equals(object)
Compares this BsonElement to another object.
- GetHashCode()
Gets the hash code.
- ToString()
Returns a string representation of the value.
Operators
- operator ==(BsonElement, BsonElement)
Compares two BsonElements.
- operator !=(BsonElement, BsonElement)
Compares two BsonElements.