MongoDB.Bson.MaterializedOnDemandBsonArray.CopyTo C# (CSharp) Method

CopyTo() public method

Copies elements from this array to another array.
public CopyTo ( BsonValue array, int arrayIndex ) : void
array BsonValue The other array.
arrayIndex int The zero based index of the other array at which to start copying.
return void
        public override void CopyTo(BsonValue[] array, int arrayIndex)
        {
            EnsureIsMaterialized();
            base.CopyTo(array, arrayIndex);
        }

Same methods

MaterializedOnDemandBsonArray::CopyTo ( object array, int arrayIndex ) : void