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