Click or drag to resize

BsonArrayAddRange Method (IEnumerable)

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 values
)

Parameters

values
Type: System.CollectionsIEnumerable
A list of values to add to the array.

Return Value

Type: BsonArray
The array (so method calls can be chained).
See Also