FindAndModifyResultGetModifiedDocumentAsTDocument Method |
Gets the modified document as a TDocument.
Namespace: MongoDB.DriverAssembly: MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.1.0
Syntax public TDocument GetModifiedDocumentAs<TDocument>()
Public Function GetModifiedDocumentAs(Of TDocument) As TDocument
member GetModifiedDocumentAs : unit -> 'TDocument
Type Parameters
- TDocument
- The nominal type of the modified document.
Return Value
Type:
TDocumentThe modified document.
See Also