MaterializedOnDemandBsonArrayAddRange Method (IEnumerableInt32) |
Adds multiple elements to the array.
Namespace:
MongoDB.Bson
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax public override BsonArray AddRange(
IEnumerable<int> values
)
Public Overrides Function AddRange (
values As IEnumerable(Of Integer)
) As BsonArray
abstract AddRange :
values : IEnumerable<int> -> BsonArray
override AddRange :
values : IEnumerable<int> -> BsonArray
Parameters
- values
- Type: System.Collections.GenericIEnumerableInt32
A list of values to add to the array.
Return Value
Type:
BsonArrayThe array (so method calls can be chained).
See Also