Method CopyTo
CopyTo(BsonValue[], int)
Copies elements from this array to another array.
public override void CopyTo(BsonValue[] array, int arrayIndex)
Parameters
array
BsonValue[]The other array.
arrayIndex
intThe zero based index of the other array at which to start copying.
CopyTo(object[], int)
Copies elements from this array to another array as raw values (see BsonValue.RawValue).
[Obsolete("Use ToArray or ToList instead.")]
public override void CopyTo(object[] array, int arrayIndex)