Table of Contents

Method ReplaceOne

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

ReplaceOne(TDocument)

Adds a request to replace one matching documents to the bulk operation.

public void ReplaceOne(TDocument document)

Parameters

document TDocument

The document.