Table of Contents

Class FindAndModifyResult

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

Represents the result of a FindAndModify command.

[Serializable]
[BsonSerializer(typeof(CommandResultSerializer<FindAndModifyResult>))]
public class FindAndModifyResult : CommandResult
Inheritance
FindAndModifyResult
Inherited Members
Extension Methods

Constructors

FindAndModifyResult(BsonDocument)

Initializes a new instance of the FindAndModifyResult class.

Properties

ModifiedDocument

Gets the modified document.

Methods

GetModifiedDocumentAs(Type)

Gets the modified document as a TDocument.

GetModifiedDocumentAs<TDocument>()

Gets the modified document as a TDocument.