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.) |
![]() | 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 | |
---|---|---|
![]() | 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.) |
![]() | 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.) |