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