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.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
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