Table of Contents

Method GetModifiedDocumentAs

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

GetModifiedDocumentAs<TDocument>()

Gets the modified document as a TDocument.

public TDocument GetModifiedDocumentAs<TDocument>()

Returns

TDocument

The modified document.

Type Parameters

TDocument

The nominal type of the modified document.

GetModifiedDocumentAs(Type)

Gets the modified document as a TDocument.

public object GetModifiedDocumentAs(Type documentType)

Parameters

documentType Type

The nominal type of the modified document.

Returns

object

The modified document.