BsonArray Methods |
The BsonArray type exposes the following members.
Name | Description | |
---|---|---|
Add |
Adds an element to the array.
| |
AddRange(IEnumerable) |
Adds multiple elements to the array.
| |
AddRange(IEnumerable<BsonValue>) |
Adds multiple elements to the array.
| |
AddRange(IEnumerable<ObjectId>) |
Adds multiple elements to the array.
| |
AddRange(IEnumerable<Boolean>) |
Adds multiple elements to the array.
| |
AddRange(IEnumerable<DateTime>) |
Adds multiple elements to the array.
| |
AddRange(IEnumerable<Double>) |
Adds multiple elements to the array.
| |
AddRange(IEnumerable<Int32>) |
Adds multiple elements to the array.
| |
AddRange(IEnumerable<Int64>) |
Adds multiple elements to the array.
| |
AddRange(IEnumerable<String>) |
Adds multiple elements to the array.
| |
Clear |
Clears the array.
| |
Clone |
Creates a shallow clone of the array (see also DeepClone).
(Overrides BsonValue.Clone().) | |
CompareTo(BsonArray) |
Compares the array to another array.
| |
CompareTo(BsonValue) |
Compares the array to another BsonValue.
(Overrides BsonValue.CompareTo(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(BsonValue[], Int32) |
Copies elements from this array to another array.
| |
CopyTo(Object[], Int32) | Obsolete.
Copies elements from this array to another array as raw values (see BsonValue.RawValue).
| |
Create |
Creates a new BsonArray.
| |
DeepClone |
Creates a deep clone of the array (see also Clone).
(Overrides BsonValue.DeepClone().) | |
Equals(BsonArray) |
Compares this array to another array.
| |
Equals(BsonValue) |
Compares this BsonValue to another BsonValue.
(Inherited from BsonValue.) | |
Equals(Object) |
Compares this BsonArray to another object.
(Overrides BsonValue.Equals(Object).) | |
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 BsonValue.GetHashCode().) | |
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 Object.ToString().) | |
ToUniversalTime |
Converts this BsonValue to a DateTime in UTC.
(Inherited from BsonValue.) |
Name | Description | |
---|---|---|
AllElements<BsonValue> |
Represents all elements in an array (corresponds to the server's "$[]" update operator).
(Defined by MongoEnumerable.) | |
AllMatchingElements<BsonValue> |
Represents all matching elements in an array when using an array filter (corresponds to the server's "$[identifier]" update operator).
(Defined by MongoEnumerable.) | |
Bottom<BsonValue, TResult> |
Returns the bottom result.
(Defined by MongoEnumerable.) | |
BottomN<BsonValue, TResult>(SortDefinition<BsonValue>, Func<BsonValue, TResult>, Int32) | Overloaded.
Returns the bottom n results.
(Defined by MongoEnumerable.) | |
BottomN<BsonValue, TKey, TResult>(SortDefinition<BsonValue>, Func<BsonValue, TResult>, TKey, Func<TKey, Int32>) | Overloaded.
Returns the bottom n results.
(Defined by MongoEnumerable.) | |
ContainsAll<BsonValue> |
Determines whether a sequence contains all of the specified values.
(Defined by LinqToMongo.) | |
ContainsAny<BsonValue> |
Determines whether a sequence contains any of the specified values.
(Defined by LinqToMongo.) | |
FirstMatchingElement<BsonValue> |
Represents the first matching element in an array used in a query (corresponds to the server's "$" update operator).
(Defined by MongoEnumerable.) | |
FirstN<BsonValue, TResult>(Func<BsonValue, TResult>, Int32) | Overloaded.
Returns the first n results.
(Defined by MongoEnumerable.) | |
FirstN<BsonValue, TKey, TResult>(Func<BsonValue, TResult>, TKey, Func<TKey, Int32>) | Overloaded.
Returns the first n results.
(Defined by MongoEnumerable.) | |
LastN<BsonValue, TResult>(Func<BsonValue, TResult>, Int32) | Overloaded.
Returns the last n results.
(Defined by MongoEnumerable.) | |
LastN<BsonValue, TKey, TResult>(Func<BsonValue, TResult>, TKey, Func<TKey, Int32>) | Overloaded.
Returns the last n results.
(Defined by MongoEnumerable.) | |
MaxN<BsonValue, TResult>(Func<BsonValue, TResult>, Int32) | Overloaded.
Returns the max n results.
(Defined by MongoEnumerable.) | |
MaxN<BsonValue, TKey, TResult>(Func<BsonValue, TResult>, TKey, Func<TKey, Int32>) | Overloaded.
Returns the max n results.
(Defined by MongoEnumerable.) | |
MinN<BsonValue, TResult>(Func<BsonValue, TResult>, Int32) | Overloaded.
Returns the min n results.
(Defined by MongoEnumerable.) | |
MinN<BsonValue, TKey, TResult>(Func<BsonValue, TResult>, TKey, Func<TKey, Int32>) | Overloaded.
Returns the min n results.
(Defined by MongoEnumerable.) | |
StandardDeviationPopulation<BsonValue>(Func<BsonValue, 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.) | |
StandardDeviationPopulation<BsonValue>(Func<BsonValue, Nullable<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.) | |
StandardDeviationPopulation<BsonValue>(Func<BsonValue, 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.) | |
StandardDeviationPopulation<BsonValue>(Func<BsonValue, Nullable<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.) | |
StandardDeviationPopulation<BsonValue>(Func<BsonValue, 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.) | |
StandardDeviationPopulation<BsonValue>(Func<BsonValue, Nullable<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.) | |
StandardDeviationPopulation<BsonValue>(Func<BsonValue, 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.) | |
StandardDeviationPopulation<BsonValue>(Func<BsonValue, Nullable<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.) | |
StandardDeviationPopulation<BsonValue>(Func<BsonValue, 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.) | |
StandardDeviationPopulation<BsonValue>(Func<BsonValue, Nullable<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.) | |
StandardDeviationSample<BsonValue>(Func<BsonValue, 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.) | |
StandardDeviationSample<BsonValue>(Func<BsonValue, Nullable<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.) | |
StandardDeviationSample<BsonValue>(Func<BsonValue, 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.) | |
StandardDeviationSample<BsonValue>(Func<BsonValue, Nullable<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.) | |
StandardDeviationSample<BsonValue>(Func<BsonValue, 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.) | |
StandardDeviationSample<BsonValue>(Func<BsonValue, Nullable<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.) | |
StandardDeviationSample<BsonValue>(Func<BsonValue, 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.) | |
StandardDeviationSample<BsonValue>(Func<BsonValue, Nullable<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.) | |
StandardDeviationSample<BsonValue>(Func<BsonValue, 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.) | |
StandardDeviationSample<BsonValue>(Func<BsonValue, Nullable<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.) | |
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.) | |
Top<BsonValue, TResult> |
Returns the top n results.
(Defined by MongoEnumerable.) | |
TopN<BsonValue, TResult>(SortDefinition<BsonValue>, Func<BsonValue, TResult>, Int32) | Overloaded.
Returns the top n results.
(Defined by MongoEnumerable.) | |
TopN<BsonValue, TKey, TResult>(SortDefinition<BsonValue>, Func<BsonValue, TResult>, TKey, Func<TKey, Int32>) | Overloaded.
Returns the top n results.
(Defined by MongoEnumerable.) | |
Where<BsonValue> |
Filters a sequence of values based on a predicate and limits the number of results.
(Defined by MongoEnumerable.) |