Table of Contents

Method ToList

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

ToList()

Converts the BsonArray to a list of BsonValues.

public virtual List<BsonValue> ToList()

Returns

List<BsonValue>

A list of BsonValues.