Class CreateCollectionOptions
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
Options for creating a collection.
public sealed class CreateCollectionOptions<TDocument> : CreateCollectionOptions
Type Parameters
TDocument
The type of the document.
Inheritance
CreateCollectionOptions
Inherited Members
Properties
Gets or sets the ClusteredIndexOptions.
Gets or sets the document serializer.
Gets or sets the validator.
Methods
Clones the CreateCollectionOptions.