Table of Contents

Constructor MongoInsertOptions

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

MongoInsertOptions()

Initializes a new instance of the MongoInsertOptions class.

public MongoInsertOptions()

MongoInsertOptions(MongoCollection)

Initializes a new instance of the MongoInsertOptions 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 MongoInsertOptions(MongoCollection collection)

Parameters

collection MongoCollection

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