BsonDocumentSetElement Method MongoDB C# Driver API Documentation
Overload List

  NameDescription
Public methodSetElement(BsonElement)
Sets an element of the document (replaces any existing element with the same name or adds a new element if an element with the same name is not found).
Public methodSetElement(Int32, BsonElement)
Sets an element of the document (replacing the existing element at that position).
Top
See Also

Reference