BsonElement Structure |
Namespace: MongoDB.Bson
The BsonElement type exposes the following members.
Name | Description | |
---|---|---|
BsonElement |
Initializes a new instance of the BsonElement class.
|
Name | Description | |
---|---|---|
Clone |
Creates a shallow clone of the element (see also DeepClone).
| |
CompareTo |
Compares this BsonElement to another BsonElement.
| |
DeepClone |
Creates a deep clone of the element (see also Clone).
| |
Equals(Object) |
Compares this BsonElement to another object.
(Overrides ValueTypeEquals(Object).) | |
Equals(BsonElement) |
Compares this BsonElement to another BsonElement.
| |
GetHashCode |
Gets the hash code.
(Overrides ValueTypeGetHashCode.) | |
GetType | (Inherited from Object.) | |
ToString |
Returns a string representation of the value.
(Overrides ValueTypeToString.) |
Name | Description | |
---|---|---|
Equality |
Compares two BsonElements.
| |
Inequality |
Compares two BsonElements.
|
Name | Description | |
---|---|---|
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |