MongoDB.Bson.RawBsonDocument.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)
        {
            throw new NotSupportedException("RawBsonDocument instances are immutable.");
        }