Table of Contents

Constructor MongoUpdateOptions

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

MongoUpdateOptions()

Initializes a new instance of the MongoUpdateOptions class.

public MongoUpdateOptions()

MongoUpdateOptions(MongoCollection)

Initializes a new instance of the MongoUpdateOptions class.

[Obsolete("Options constructors which take a MongoCollection parameter are obsolete and will be removed in a future release of the MongoDB CSharp Driver. Please use a constructor which does not take a MongoCollection parameter.")]
public MongoUpdateOptions(MongoCollection collection)

Parameters

collection MongoCollection

The collection from which to get default settings for the options.