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

Insert() public method

Inserts a new value into the array.
public Insert ( int index, BsonValue value ) : void
index int The zero based index at which to insert the new value.
value BsonValue The new value.
return void
        public override void Insert(int index, BsonValue value)
        {
            EnsureIsMaterialized();
            base.Insert(index, value);
        }