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.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
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