Table of Contents

Method Add

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Add(BsonValue)

Adds an element to the array.

public virtual BsonArray Add(BsonValue value)

Parameters

value BsonValue

The value to add to the array.

Returns

BsonArray

The array (so method calls can be chained).