Method InsertAt
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Bson.dll
InsertAt(int, BsonElement)
Inserts a new element at a specified position.
public virtual void InsertAt(int index, BsonElement element)
Parameters
index
int
The position of the new element.
element
BsonElement
The element.