Click or drag to resize

BsonArrayToList Method

Converts the BsonArray to a list of BsonValues.

Namespace:  MongoDB.Bson
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax
public virtual List<BsonValue> ToList()

Return Value

Type: ListBsonValue
A list of BsonValues.
See Also