RawBsonDocument Methods |
The RawBsonDocument type exposes the following members.
Name | Description | |
---|---|---|
![]() | Add(Dictionary<String, Object>) | Obsolete.
Adds elements to the document from a dictionary of key/value pairs.
(Overrides BsonDocument.Add(Dictionary<String, Object>).) |
![]() | Add(IDictionary<String, Object>) | Obsolete.
Adds elements to the document from a dictionary of key/value pairs.
(Overrides BsonDocument.Add(IDictionary<String, Object>).) |
![]() | Add(IDictionary) | Obsolete.
Adds elements to the document from a dictionary of key/value pairs.
(Overrides BsonDocument.Add(IDictionary).) |
![]() | Add(BsonElement) |
Adds an element to the document.
(Overrides BsonDocument.Add(BsonElement).) |
![]() | Add(BsonElement[]) | Obsolete.
Adds a list of elements to the document.
(Overrides BsonDocument.Add(BsonElement[]).) |
![]() | Add(IEnumerable<BsonElement>) | Obsolete.
Adds a list of elements to the document.
(Overrides BsonDocument.Add(IEnumerable<BsonElement>).) |
![]() | Add(Dictionary<String, Object>, IEnumerable<String>) | Obsolete.
Adds elements to the document from a dictionary of key/value pairs.
(Overrides BsonDocument.Add(Dictionary<String, Object>, IEnumerable<String>).) |
![]() | Add(IDictionary<String, Object>, IEnumerable<String>) | Obsolete.
Adds elements to the document from a dictionary of key/value pairs.
(Overrides BsonDocument.Add(IDictionary<String, Object>, IEnumerable<String>).) |
![]() | Add(IDictionary, IEnumerable) | Obsolete.
Adds elements to the document from a dictionary of key/value pairs.
(Overrides BsonDocument.Add(IDictionary, IEnumerable).) |
![]() | Add(String, BsonValue) |
Creates and adds an element to the document.
(Overrides BsonDocument.Add(String, BsonValue).) |
![]() | Add(String, Func<BsonValue>, Boolean) |
Creates and adds an element to the document, but only if the condition is true.
If the condition is false the value factory is not called at all.
(Inherited from BsonDocument.) |
![]() | Add(String, BsonValue, Boolean) |
Creates and adds an element to the document, but only if the condition is true.
(Overrides BsonDocument.Add(String, BsonValue, Boolean).) |
![]() | AddRange(Dictionary<String, Object>) |
Adds elements to the document from a dictionary of key/value pairs.
(Overrides BsonDocument.AddRange(Dictionary<String, Object>).) |
![]() | AddRange(IEnumerable<KeyValuePair<String, Object>>) |
Adds elements to the document from a dictionary of key/value pairs.
(Overrides BsonDocument.AddRange(IEnumerable<KeyValuePair<String, Object>>).) |
![]() | AddRange(IDictionary) |
Adds elements to the document from a dictionary of key/value pairs.
(Overrides BsonDocument.AddRange(IDictionary).) |
![]() | AddRange(IEnumerable<BsonElement>) |
Adds a list of elements to the document.
(Overrides BsonDocument.AddRange(IEnumerable<BsonElement>).) |
![]() | Clear |
Clears the document (removes all elements).
(Overrides BsonDocument.Clear().) |
![]() | Clone |
Creates a shallow clone of the document (see also DeepClone).
(Overrides BsonDocument.Clone().) |
![]() | CompareTo(BsonDocument) |
Compares this document to another document.
(Inherited from BsonDocument.) |
![]() | CompareTo(BsonValue) |
Compares the BsonDocument to another BsonValue.
(Inherited from BsonDocument.) |
![]() | CompareTypeTo |
Compares the type of this BsonValue to the type of another BsonValue.
(Inherited from BsonValue.) |
![]() | Contains |
Tests whether the document contains an element with the specified name.
(Overrides BsonDocument.Contains(String).) |
![]() | ContainsValue |
Tests whether the document contains an element with the specified value.
(Overrides BsonDocument.ContainsValue(BsonValue).) |
![]() | DeepClone |
Creates a deep clone of the document (see also Clone).
(Overrides BsonDocument.DeepClone().) |
![]() | Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
![]() | Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources.
|
![]() | Equals(Object) |
Compares this BsonDocument to another object.
(Inherited from BsonDocument.) |
![]() | Equals(BsonDocument) |
Compares this document to another document.
(Inherited from BsonDocument.) |
![]() | Equals(BsonValue) |
Compares this BsonValue to another BsonValue.
(Inherited from BsonValue.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetElement(Int32) |
Gets an element of this document.
(Overrides BsonDocument.GetElement(Int32).) |
![]() | GetElement(String) |
Gets an element of this document.
(Overrides BsonDocument.GetElement(String).) |
![]() | GetEnumerator |
Gets an enumerator that can be used to enumerate the elements of this document.
(Overrides BsonDocument.GetEnumerator().) |
![]() | GetHashCode |
Gets the hash code.
(Inherited from BsonDocument.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetValue(Int32) |
Gets the value of an element.
(Overrides BsonDocument.GetValue(Int32).) |
![]() | GetValue(String) |
Gets the value of an element.
(Overrides BsonDocument.GetValue(String).) |
![]() | GetValue(String, BsonValue) |
Gets the value of an element or a default value if the element is not found.
(Overrides BsonDocument.GetValue(String, BsonValue).) |
![]() | IConvertibleGetTypeCodeImplementation |
Implementation of the IConvertible GetTypeCode method.
(Inherited from BsonValue.) |
![]() | IConvertibleToBooleanImplementation |
Implementation of the IConvertible ToBoolean method.
(Inherited from BsonValue.) |
![]() | IConvertibleToByteImplementation |
Implementation of the IConvertible ToByte method.
(Inherited from BsonValue.) |
![]() | IConvertibleToCharImplementation |
Implementation of the IConvertible ToChar method.
(Inherited from BsonValue.) |
![]() | IConvertibleToDateTimeImplementation |
Implementation of the IConvertible ToDateTime method.
(Inherited from BsonValue.) |
![]() | IConvertibleToDecimalImplementation |
Implementation of the IConvertible ToDecimal method.
(Inherited from BsonValue.) |
![]() | IConvertibleToDoubleImplementation |
Implementation of the IConvertible ToDouble method.
(Inherited from BsonValue.) |
![]() | IConvertibleToInt16Implementation |
Implementation of the IConvertible ToInt16 method.
(Inherited from BsonValue.) |
![]() | IConvertibleToInt32Implementation |
Implementation of the IConvertible ToInt32 method.
(Inherited from BsonValue.) |
![]() | IConvertibleToInt64Implementation |
Implementation of the IConvertible ToInt64 method.
(Inherited from BsonValue.) |
![]() | IConvertibleToSByteImplementation |
Implementation of the IConvertible ToSByte method.
(Inherited from BsonValue.) |
![]() | IConvertibleToSingleImplementation |
Implementation of the IConvertible ToSingle method.
(Inherited from BsonValue.) |
![]() | IConvertibleToStringImplementation |
Implementation of the IConvertible ToString method.
(Inherited from BsonValue.) |
![]() | IConvertibleToUInt16Implementation |
Implementation of the IConvertible ToUInt16 method.
(Inherited from BsonValue.) |
![]() | IConvertibleToUInt32Implementation |
Implementation of the IConvertible ToUInt32 method.
(Inherited from BsonValue.) |
![]() | IConvertibleToUInt64Implementation |
Implementation of the IConvertible ToUInt64 method.
(Inherited from BsonValue.) |
![]() | IndexOfName |
Gets the index of an element.
(Inherited from BsonDocument.) |
![]() | InsertAt |
Inserts a new element at a specified position.
(Overrides BsonDocument.InsertAt(Int32, BsonElement).) |
![]() | Materialize |
Materializes the RawBsonDocument into a regular BsonDocument.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Merge(BsonDocument) |
Merges another document into this one. Existing elements are not overwritten.
(Overrides BsonDocument.Merge(BsonDocument).) |
![]() | Merge(BsonDocument, Boolean) |
Merges another document into this one, specifying whether existing elements are overwritten.
(Overrides BsonDocument.Merge(BsonDocument, Boolean).) |
![]() | OperatorEqualsImplementation |
Implementation of operator ==.
(Inherited from BsonValue.) |
![]() | Remove |
Removes an element from this document (if duplicate element names are allowed
then all elements with this name will be removed).
(Overrides BsonDocument.Remove(String).) |
![]() | RemoveAt |
Removes an element from this document.
(Overrides BsonDocument.RemoveAt(Int32).) |
![]() | RemoveElement |
Removes an element from this document.
(Overrides BsonDocument.RemoveElement(BsonElement).) |
![]() | Set(Int32, BsonValue) |
Sets the value of an element.
(Overrides BsonDocument.Set(Int32, BsonValue).) |
![]() | Set(String, BsonValue) |
Sets the value of an element (an element will be added if no element with this name is found).
(Overrides BsonDocument.Set(String, BsonValue).) |
![]() | SetElement(BsonElement) |
Sets an element of the document (replaces any existing element with the same name or adds a new element if an element with the same name is not found).
(Overrides BsonDocument.SetElement(BsonElement).) |
![]() | SetElement(Int32, BsonElement) |
Sets an element of the document (replacing the existing element at that position).
(Overrides BsonDocument.SetElement(Int32, BsonElement).) |
![]() | ThrowIfDisposed |
Throws if disposed.
|
![]() | ToBoolean |
Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness).
(Inherited from BsonValue.) |
![]() | ToDecimal |
Converts this BsonValue to a Decimal.
(Inherited from BsonValue.) |
![]() | ToDecimal128 |
Converts this BsonValue to a Decimal128.
(Inherited from BsonValue.) |
![]() | ToDictionary |
Converts the BsonDocument to a Dictionary<string, object>.
(Inherited from BsonDocument.) |
![]() | ToDouble |
Converts this BsonValue to a Double.
(Inherited from BsonValue.) |
![]() | ToHashtable |
Converts the BsonDocument to a Hashtable.
(Inherited from BsonDocument.) |
![]() | ToInt32 |
Converts this BsonValue to an Int32.
(Inherited from BsonValue.) |
![]() | ToInt64 |
Converts this BsonValue to an Int64.
(Inherited from BsonValue.) |
![]() | ToLocalTime |
Converts this BsonValue to a DateTime in local time.
(Inherited from BsonValue.) |
![]() | ToNullableLocalTime |
Converts this BsonValue to a DateTime? in local time.
(Inherited from BsonValue.) |
![]() | ToNullableUniversalTime |
Converts this BsonValue to a DateTime? in UTC.
(Inherited from BsonValue.) |
![]() | ToString |
Returns a string representation of the document.
(Inherited from BsonDocument.) |
![]() | ToUniversalTime |
Converts this BsonValue to a DateTime in UTC.
(Inherited from BsonValue.) |
![]() | TryGetElement |
Tries to get an element of this document.
(Overrides BsonDocument.TryGetElement(String, BsonElement).) |
![]() | TryGetValue |
Tries to get the value of an element of this document.
(Overrides BsonDocument.TryGetValue(String, BsonValue).) |
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.) |