MongoDB.Bson.LazyBsonDocument.DeepClone C# (CSharp) Method

DeepClone() public method

Creates a deep clone of the document (see also Clone).
public DeepClone ( ) : BsonValue
return BsonValue
        public override BsonValue DeepClone()
        {
            if (_slice != null)
            {
                return new LazyBsonDocument(CloneSlice());
            }
            else
            {
                return base.DeepClone();
            }
        }