BsonArray Methods |
The BsonArray type exposes the following members.
Name | Description | |
---|---|---|
Add |
Adds an element to the array.
| |
AddRange(IEnumerableBoolean) |
Adds multiple elements to the array.
| |
AddRange(IEnumerableDateTime) |
Adds multiple elements to the array.
| |
AddRange(IEnumerableDouble) |
Adds multiple elements to the array.
| |
AddRange(IEnumerableInt32) |
Adds multiple elements to the array.
| |
AddRange(IEnumerableInt64) |
Adds multiple elements to the array.
| |
AddRange(IEnumerableString) |
Adds multiple elements to the array.
| |
AddRange(IEnumerable) |
Adds multiple elements to the array.
| |
AddRange(IEnumerableBsonValue) |
Adds multiple elements to the array.
| |
AddRange(IEnumerableObjectId) |
Adds multiple elements to the array.
| |
Clear |
Clears the array.
| |
Clone |
Creates a shallow clone of the array (see also DeepClone).
(Overrides BsonValueClone.) | |
CompareTo(BsonArray) |
Compares the array to another array.
| |
CompareTo(BsonValue) |
Compares the array to another BsonValue.
(Overrides BsonValueCompareTo(BsonValue).) | |
CompareTypeTo |
Compares the type of this BsonValue to the type of another BsonValue.
(Inherited from BsonValue.) | |
Contains |
Tests whether the array contains a value.
| |
CopyTo(Object, Int32) | Obsolete.
Copies elements from this array to another array as raw values (see BsonValue.RawValue).
| |
CopyTo(BsonValue, Int32) |
Copies elements from this array to another array.
| |
Create |
Creates a new BsonArray.
| |
DeepClone |
Creates a deep clone of the array (see also Clone).
(Overrides BsonValueDeepClone.) | |
Equals(Object) |
Compares this BsonArray to another object.
(Overrides BsonValueEquals(Object).) | |
Equals(BsonArray) |
Compares this array to another array.
| |
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.) | |
GetEnumerator |
Gets an enumerator that can enumerate the elements of the array.
| |
GetHashCode |
Gets the hash code.
(Overrides BsonValueGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
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.) | |
IndexOf(BsonValue) |
Gets the index of a value in the array.
| |
IndexOf(BsonValue, Int32) |
Gets the index of a value in the array.
| |
IndexOf(BsonValue, Int32, Int32) |
Gets the index of a value in the array.
| |
Insert |
Inserts a new value into the array.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OperatorEqualsImplementation |
Implementation of operator ==.
(Inherited from BsonValue.) | |
Remove |
Removes the first occurrence of a value from the array.
| |
RemoveAt |
Removes an element from the array.
| |
ToArray |
Converts the BsonArray to an array of BsonValues.
| |
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.) | |
ToDouble |
Converts this BsonValue to a Double.
(Inherited from BsonValue.) | |
ToInt32 |
Converts this BsonValue to an Int32.
(Inherited from BsonValue.) | |
ToInt64 |
Converts this BsonValue to an Int64.
(Inherited from BsonValue.) | |
ToList |
Converts the BsonArray to a list of BsonValues.
| |
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 array.
(Overrides ObjectToString.) | |
ToUniversalTime |
Converts this BsonValue to a DateTime in UTC.
(Inherited from BsonValue.) |
Name | Description | |
---|---|---|
AllElementsBsonValue |
Represents all elements in an array (corresponds to the server's "$[]" update operator).
(Defined by MongoEnumerable.) | |
AllMatchingElementsBsonValue |
Represents all matching elements in an array when using an array filter (corresponds to the server's "$[identifier]" update operator).
(Defined by MongoEnumerable.) | |
BottomBsonValue, TResult |
Returns the bottom result.
(Defined by MongoEnumerable.) | |
BottomNBsonValue, TResult(SortDefinitionBsonValue, FuncBsonValue, TResult, Int32) | Overloaded.
Returns the bottom n results.
(Defined by MongoEnumerable.) | |
BottomNBsonValue, TKey, TResult(SortDefinitionBsonValue, FuncBsonValue, TResult, TKey, FuncTKey, Int32) | Overloaded.
Returns the bottom n results.
(Defined by MongoEnumerable.) | |
ContainsAllBsonValue |
Determines whether a sequence contains all of the specified values.
(Defined by LinqToMongo.) | |
ContainsAnyBsonValue |
Determines whether a sequence contains any of the specified values.
(Defined by LinqToMongo.) | |
FirstMatchingElementBsonValue |
Represents the first matching element in an array used in a query (corresponds to the server's "$" update operator).
(Defined by MongoEnumerable.) | |
FirstNBsonValue, TResult(FuncBsonValue, TResult, Int32) | Overloaded.
Returns the first n results.
(Defined by MongoEnumerable.) | |
FirstNBsonValue, TKey, TResult(FuncBsonValue, TResult, TKey, FuncTKey, Int32) | Overloaded.
Returns the first n results.
(Defined by MongoEnumerable.) | |
LastNBsonValue, TResult(FuncBsonValue, TResult, Int32) | Overloaded.
Returns the last n results.
(Defined by MongoEnumerable.) | |
LastNBsonValue, TKey, TResult(FuncBsonValue, TResult, TKey, FuncTKey, Int32) | Overloaded.
Returns the last n results.
(Defined by MongoEnumerable.) | |
MaxNBsonValue, TResult(FuncBsonValue, TResult, Int32) | Overloaded.
Returns the max n results.
(Defined by MongoEnumerable.) | |
MaxNBsonValue, TKey, TResult(FuncBsonValue, TResult, TKey, FuncTKey, Int32) | Overloaded.
Returns the max n results.
(Defined by MongoEnumerable.) | |
MinNBsonValue, TResult(FuncBsonValue, TResult, Int32) | Overloaded.
Returns the min n results.
(Defined by MongoEnumerable.) | |
MinNBsonValue, TKey, TResult(FuncBsonValue, TResult, TKey, FuncTKey, Int32) | Overloaded.
Returns the min n results.
(Defined by MongoEnumerable.) | |
StandardDeviationPopulationBsonValue(FuncBsonValue, Int32) | Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.) | |
StandardDeviationPopulationBsonValue(FuncBsonValue, NullableInt32) | Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.) | |
StandardDeviationPopulationBsonValue(FuncBsonValue, Int64) | Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.) | |
StandardDeviationPopulationBsonValue(FuncBsonValue, NullableInt64) | Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.) | |
StandardDeviationPopulationBsonValue(FuncBsonValue, Single) | Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.) | |
StandardDeviationPopulationBsonValue(FuncBsonValue, NullableSingle) | Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.) | |
StandardDeviationPopulationBsonValue(FuncBsonValue, Double) | Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.) | |
StandardDeviationPopulationBsonValue(FuncBsonValue, NullableDouble) | Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.) | |
StandardDeviationPopulationBsonValue(FuncBsonValue, Decimal) | Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.) | |
StandardDeviationPopulationBsonValue(FuncBsonValue, NullableDecimal) | Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.) | |
StandardDeviationSampleBsonValue(FuncBsonValue, Int32) | Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.) | |
StandardDeviationSampleBsonValue(FuncBsonValue, NullableInt32) | Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.) | |
StandardDeviationSampleBsonValue(FuncBsonValue, Int64) | Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.) | |
StandardDeviationSampleBsonValue(FuncBsonValue, NullableInt64) | Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.) | |
StandardDeviationSampleBsonValue(FuncBsonValue, Single) | Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.) | |
StandardDeviationSampleBsonValue(FuncBsonValue, NullableSingle) | Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.) | |
StandardDeviationSampleBsonValue(FuncBsonValue, Double) | Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.) | |
StandardDeviationSampleBsonValue(FuncBsonValue, NullableDouble) | Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.) | |
StandardDeviationSampleBsonValue(FuncBsonValue, Decimal) | Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.) | |
StandardDeviationSampleBsonValue(FuncBsonValue, NullableDecimal) | Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.) | |
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.) | |
TopBsonValue, TResult |
Returns the top n results.
(Defined by MongoEnumerable.) | |
TopNBsonValue, TResult(SortDefinitionBsonValue, FuncBsonValue, TResult, Int32) | Overloaded.
Returns the top n results.
(Defined by MongoEnumerable.) | |
TopNBsonValue, TKey, TResult(SortDefinitionBsonValue, FuncBsonValue, TResult, TKey, FuncTKey, Int32) | Overloaded.
Returns the top n results.
(Defined by MongoEnumerable.) | |
WhereBsonValue |
Filters a sequence of values based on a predicate and limits the number of results.
(Defined by MongoEnumerable.) |