MongoDB.Bson.MaterializedOnDemandBsonDocument.InsertAt C# (CSharp) Method

InsertAt() public method

Inserts a new element at a specified position.
public InsertAt ( int index, BsonElement element ) : void
index int The position of the new element.
element BsonElement The element.
return void
        public override void InsertAt(int index, BsonElement element)
        {
            EnsureIsMaterialized();
            base.InsertAt(index, element);
        }