Click or drag to resize

MaterializedOnDemandBsonArrayAdd Method

Adds an element to the array.

Namespace:  MongoDB.Bson
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax
public override BsonArray Add(
	BsonValue value
)

Parameters

value
Type: MongoDB.BsonBsonValue
The value to add to the array.

Return Value

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