Table of Contents

Method ToArray

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

ToArray()

Converts the BsonArray to an array of BsonValues.

public virtual BsonValue[] ToArray()

Returns

BsonValue[]

An array of BsonValues.