Table of Contents

Class CreateCollectionOptions<TDocument>

Namespace
MongoDB.Driver
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<TDocument>
Inherited Members

Properties

ClusteredIndex

Gets or sets the ClusteredIndexOptions<TDocument>.

DocumentSerializer

Gets or sets the document serializer.

Validator

Gets or sets the validator.