Click or drag to resize

BsonArrayAddRange Method (IEnumerableString)

Adds multiple elements to the array.

Namespace:  MongoDB.Bson
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
public virtual BsonArray AddRange(
	IEnumerable<string> values
)

Parameters

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

Return Value

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