Class CreateCollectionOptions

| MongoDB CSharp Driver API Reference (original) (raw)

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

Inherited Members

Properties

ClusteredIndex

Gets or sets the ClusteredIndexOptions.

DocumentSerializer

Gets or sets the document serializer.

Validator

Gets or sets the validator.

Methods

Clone()

Clones the CreateCollectionOptions.