Click or drag to resize

UpdateRequest Constructor

Initializes a new instance of the UpdateRequest class.

Namespace:  MongoDB.Driver.Core.Operations
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntax
public UpdateRequest(
	UpdateType updateType,
	BsonDocument filter,
	BsonValue update
)

Parameters

updateType
Type: MongoDB.Driver.Core.OperationsUpdateType
The update type.
filter
Type: MongoDB.BsonBsonDocument
The filter.
update
Type: MongoDB.BsonBsonValue
The update.
See Also