Struct BsonElement
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Bson.dll
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
Gets the name of the element.
Gets or sets the value of the element.
Methods
Creates a shallow clone of the element (see also DeepClone).
Compares this BsonElement to another BsonElement.
Creates a deep clone of the element (see also Clone).
Compares this BsonElement to another BsonElement.
Compares this BsonElement to another object.
Gets the hash code.
Returns a string representation of the value.
Operators
operator ==(BsonElement, BsonElement)
Compares two BsonElements.
operator !=(BsonElement, BsonElement)
Compares two BsonElements.