Click or drag to resize

MaterializedOnDemandBsonArrayCopyTo Method (BsonValue, Int32)

Copies elements from this array to another array.

Namespace:  MongoDB.Bson
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax
public override void CopyTo(
	BsonValue[] array,
	int arrayIndex
)

Parameters

array
Type: MongoDB.BsonBsonValue
The other array.
arrayIndex
Type: SystemInt32
The zero based index of the other array at which to start copying.

Implements

ICollectionTCopyTo(T, Int32)
See Also