Table of Contents

Method ReplaceOne

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

ReplaceOne(TDocument)

Adds an update request to replace one matching document to the bulk operation.

public void ReplaceOne(TDocument document)

Parameters

document TDocument

The document.