Click or drag to resize

BsonArray Methods

The BsonArray type exposes the following members.

Methods
  NameDescription
Public methodAdd
Adds an element to the array.
Public methodAddRange(IEnumerable)
Adds multiple elements to the array.
Public methodAddRange(IEnumerableBsonValue)
Adds multiple elements to the array.
Public methodAddRange(IEnumerableObjectId)
Adds multiple elements to the array.
Public methodAddRange(IEnumerableBoolean)
Adds multiple elements to the array.
Public methodAddRange(IEnumerableDateTime)
Adds multiple elements to the array.
Public methodAddRange(IEnumerableDouble)
Adds multiple elements to the array.
Public methodAddRange(IEnumerableInt32)
Adds multiple elements to the array.
Public methodAddRange(IEnumerableInt64)
Adds multiple elements to the array.
Public methodAddRange(IEnumerableString)
Adds multiple elements to the array.
Public methodClear
Clears the array.
Public methodClone
Creates a shallow clone of the array (see also DeepClone).
(Overrides BsonValueClone.)
Public methodCompareTo(BsonArray)
Compares the array to another array.
Public methodCompareTo(BsonValue)
Compares the array to another BsonValue.
(Overrides BsonValueCompareTo(BsonValue).)
Public methodCompareTypeTo
Compares the type of this BsonValue to the type of another BsonValue.
(Inherited from BsonValue.)
Public methodContains
Tests whether the array contains a value.
Public methodCopyTo(BsonValue, Int32)
Copies elements from this array to another array.
Public methodCopyTo(Object, Int32) Obsolete.
Copies elements from this array to another array as raw values (see BsonValue.RawValue).
Public methodStatic memberCreate
Creates a new BsonArray.
Public methodDeepClone
Creates a deep clone of the array (see also Clone).
(Overrides BsonValueDeepClone.)
Public methodEquals(BsonArray)
Compares this array to another array.
Public methodEquals(BsonValue)
Compares this BsonValue to another BsonValue.
(Inherited from BsonValue.)
Public methodEquals(Object)
Compares this BsonArray to another object.
(Overrides BsonValueEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Gets an enumerator that can enumerate the elements of the array.
Public methodGetHashCode
Gets the hash code.
(Overrides BsonValueGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodIConvertibleGetTypeCodeImplementation
Implementation of the IConvertible GetTypeCode method.
(Inherited from BsonValue.)
Protected methodIConvertibleToBooleanImplementation
Implementation of the IConvertible ToBoolean method.
(Inherited from BsonValue.)
Protected methodIConvertibleToByteImplementation
Implementation of the IConvertible ToByte method.
(Inherited from BsonValue.)
Protected methodIConvertibleToCharImplementation
Implementation of the IConvertible ToChar method.
(Inherited from BsonValue.)
Protected methodIConvertibleToDateTimeImplementation
Implementation of the IConvertible ToDateTime method.
(Inherited from BsonValue.)
Protected methodIConvertibleToDecimalImplementation
Implementation of the IConvertible ToDecimal method.
(Inherited from BsonValue.)
Protected methodIConvertibleToDoubleImplementation
Implementation of the IConvertible ToDouble method.
(Inherited from BsonValue.)
Protected methodIConvertibleToInt16Implementation
Implementation of the IConvertible ToInt16 method.
(Inherited from BsonValue.)
Protected methodIConvertibleToInt32Implementation
Implementation of the IConvertible ToInt32 method.
(Inherited from BsonValue.)
Protected methodIConvertibleToInt64Implementation
Implementation of the IConvertible ToInt64 method.
(Inherited from BsonValue.)
Protected methodIConvertibleToSByteImplementation
Implementation of the IConvertible ToSByte method.
(Inherited from BsonValue.)
Protected methodIConvertibleToSingleImplementation
Implementation of the IConvertible ToSingle method.
(Inherited from BsonValue.)
Protected methodIConvertibleToStringImplementation
Implementation of the IConvertible ToString method.
(Inherited from BsonValue.)
Protected methodIConvertibleToUInt16Implementation
Implementation of the IConvertible ToUInt16 method.
(Inherited from BsonValue.)
Protected methodIConvertibleToUInt32Implementation
Implementation of the IConvertible ToUInt32 method.
(Inherited from BsonValue.)
Protected methodIConvertibleToUInt64Implementation
Implementation of the IConvertible ToUInt64 method.
(Inherited from BsonValue.)
Public methodIndexOf(BsonValue)
Gets the index of a value in the array.
Public methodIndexOf(BsonValue, Int32)
Gets the index of a value in the array.
Public methodIndexOf(BsonValue, Int32, Int32)
Gets the index of a value in the array.
Public methodInsert
Inserts a new value into the array.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOperatorEqualsImplementation
Implementation of operator ==.
(Inherited from BsonValue.)
Public methodRemove
Removes the first occurrence of a value from the array.
Public methodRemoveAt
Removes an element from the array.
Public methodToArray
Converts the BsonArray to an array of BsonValues.
Public methodToBoolean
Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness).
(Inherited from BsonValue.)
Public methodToDecimal
Converts this BsonValue to a Decimal.
(Inherited from BsonValue.)
Public methodToDecimal128
Converts this BsonValue to a Decimal128.
(Inherited from BsonValue.)
Public methodToDouble
Converts this BsonValue to a Double.
(Inherited from BsonValue.)
Public methodToInt32
Converts this BsonValue to an Int32.
(Inherited from BsonValue.)
Public methodToInt64
Converts this BsonValue to an Int64.
(Inherited from BsonValue.)
Public methodToList
Converts the BsonArray to a list of BsonValues.
Public methodToLocalTime
Converts this BsonValue to a DateTime in local time.
(Inherited from BsonValue.)
Public methodToNullableLocalTime
Converts this BsonValue to a DateTime? in local time.
(Inherited from BsonValue.)
Public methodToNullableUniversalTime
Converts this BsonValue to a DateTime? in UTC.
(Inherited from BsonValue.)
Public methodToString
Returns a string representation of the array.
(Overrides ObjectToString.)
Public methodToUniversalTime
Converts this BsonValue to a DateTime in UTC.
(Inherited from BsonValue.)
Top
Extension Methods
  NameDescription
Public Extension MethodContainsAllBsonValue
Determines whether a sequence contains all of the specified values.
(Defined by LinqToMongo.)
Public Extension MethodContainsAnyBsonValue
Determines whether a sequence contains any of the specified values.
(Defined by LinqToMongo.)
Public Extension MethodStandardDeviationPopulationBsonValue(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.)
Public Extension MethodStandardDeviationPopulationBsonValue(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.)
Public Extension MethodStandardDeviationPopulationBsonValue(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.)
Public Extension MethodStandardDeviationPopulationBsonValue(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.)
Public Extension MethodStandardDeviationPopulationBsonValue(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.)
Public Extension MethodStandardDeviationPopulationBsonValue(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.)
Public Extension MethodStandardDeviationPopulationBsonValue(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.)
Public Extension MethodStandardDeviationPopulationBsonValue(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.)
Public Extension MethodStandardDeviationPopulationBsonValue(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.)
Public Extension MethodStandardDeviationPopulationBsonValue(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.)
Public Extension MethodStandardDeviationSampleBsonValue(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.)
Public Extension MethodStandardDeviationSampleBsonValue(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.)
Public Extension MethodStandardDeviationSampleBsonValue(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.)
Public Extension MethodStandardDeviationSampleBsonValue(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.)
Public Extension MethodStandardDeviationSampleBsonValue(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.)
Public Extension MethodStandardDeviationSampleBsonValue(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.)
Public Extension MethodStandardDeviationSampleBsonValue(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.)
Public Extension MethodStandardDeviationSampleBsonValue(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.)
Public Extension MethodStandardDeviationSampleBsonValue(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.)
Public Extension MethodStandardDeviationSampleBsonValue(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.)
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Top
See Also