MongoDBDriver/Document.cs
/// <summary>
/// Adds an item to the Document at the specified position
/// </summary>
Adds an item to the Document at the specified position
Adds an item to the Document at the specified position
public void Insert(String key, Object value, int Position){
            Dictionary.Add(key, value);
            orderedKeys.Insert(Position,key);
        }
public void Insert ( String key , Object value , int Position ) { Dictionary . Add ( key , value ) ; orderedKeys . Insert ( Position , key ) ; }
Adds an item to the Document at the specified position
Adds an item to the Document at the specified position
//Relies on ArgumentException from above if key already exists.
key
String
value
Object
Position
int