Constructor BsonArray
BsonArray()
Initializes a new instance of the BsonArray class.
BsonArray(IEnumerable<bool>)
Initializes a new instance of the BsonArray class.
Parameters
values
IEnumerable<bool>A list of values to add to the array.
BsonArray(IEnumerable<BsonValue>)
Initializes a new instance of the BsonArray class.
Parameters
values
IEnumerable<BsonValue >A list of values to add to the array.
BsonArray(IEnumerable<DateTime>)
Initializes a new instance of the BsonArray class.
Parameters
values
IEnumerable<DateTime >A list of values to add to the array.
BsonArray(IEnumerable<double>)
Initializes a new instance of the BsonArray class.
Parameters
values
IEnumerable<double>A list of values to add to the array.
BsonArray(IEnumerable<int>)
Initializes a new instance of the BsonArray class.
Parameters
values
IEnumerable<int>A list of values to add to the array.
BsonArray(IEnumerable<long>)
Initializes a new instance of the BsonArray class.
Parameters
values
IEnumerable<long>A list of values to add to the array.
BsonArray(IEnumerable<ObjectId>)
Initializes a new instance of the BsonArray class.
Parameters
values
IEnumerable<ObjectId >A list of values to add to the array.
BsonArray(IEnumerable<string>)
Initializes a new instance of the BsonArray class.
Parameters
values
IEnumerable<string>A list of values to add to the array.
BsonArray(IEnumerable)
Initializes a new instance of the BsonArray class.
Parameters
values
IEnumerableA list of values to add to the array.
BsonArray(int)
Initializes a new instance of the BsonArray class.
Parameters
capacity
intThe initial capacity of the array.