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.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
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