MongoDB.Driver.Document.Update C# (CSharp) Method

Update() public method

public Update ( Document from ) : Document
from Document
return Document
        public Document Update(Document from)
        {
            if (from == null) return this;
            foreach (String key in from.Keys) {
                this[key] = from[key];
            }
            return this;
        }