Method AddRange
AddRange(IEnumerable<bool>)
Adds multiple elements to the array.
public virtual BsonArray AddRange(IEnumerable<bool> values)
Parameters
valuesIEnumerable<bool>A list of values to add to the array.
Returns
- BsonArray
The array (so method calls can be chained).
AddRange(IEnumerable<BsonValue>)
Adds multiple elements to the array.
public virtual BsonArray AddRange(IEnumerable<BsonValue> values)
Parameters
valuesIEnumerable<BsonValue>A list of values to add to the array.
Returns
- BsonArray
The array (so method calls can be chained).
AddRange(IEnumerable<DateTime>)
Adds multiple elements to the array.
public virtual BsonArray AddRange(IEnumerable<DateTime> values)
Parameters
valuesIEnumerable<DateTime>A list of values to add to the array.
Returns
- BsonArray
The array (so method calls can be chained).
AddRange(IEnumerable<double>)
Adds multiple elements to the array.
public virtual BsonArray AddRange(IEnumerable<double> values)
Parameters
valuesIEnumerable<double>A list of values to add to the array.
Returns
- BsonArray
The array (so method calls can be chained).
AddRange(IEnumerable<int>)
Adds multiple elements to the array.
public virtual BsonArray AddRange(IEnumerable<int> values)
Parameters
valuesIEnumerable<int>A list of values to add to the array.
Returns
- BsonArray
The array (so method calls can be chained).
AddRange(IEnumerable<long>)
Adds multiple elements to the array.
public virtual BsonArray AddRange(IEnumerable<long> values)
Parameters
valuesIEnumerable<long>A list of values to add to the array.
Returns
- BsonArray
The array (so method calls can be chained).
AddRange(IEnumerable<ObjectId>)
Adds multiple elements to the array.
public virtual BsonArray AddRange(IEnumerable<ObjectId> values)
Parameters
valuesIEnumerable<ObjectId>A list of values to add to the array.
Returns
- BsonArray
The array (so method calls can be chained).
AddRange(IEnumerable<string>)
Adds multiple elements to the array.
public virtual BsonArray AddRange(IEnumerable<string> values)
Parameters
valuesIEnumerable<string>A list of values to add to the array.
Returns
- BsonArray
The array (so method calls can be chained).
AddRange(IEnumerable)
Adds multiple elements to the array.
public virtual BsonArray AddRange(IEnumerable values)
Parameters
valuesIEnumerableA list of values to add to the array.
Returns
- BsonArray
The array (so method calls can be chained).