CreateCollectionOptionsTDocument Properties | 
The CreateCollectionOptionsTDocument generic type exposes the following members.
| Name | Description | |
|---|---|---|
| AutoIndexId |  Obsolete.  
            Gets or sets a value indicating whether to automatically create an index on the _id.
              (Inherited from CreateCollectionOptions.) | |
| Capped | 
            Gets or sets a value indicating whether the collection is capped.
              (Inherited from CreateCollectionOptions.) | |
| ChangeStreamPreAndPostImagesOptions | 
            Gets or sets  Gets or sets a change streams pre and post images options.
              (Inherited from CreateCollectionOptions.) | |
| ClusteredIndex | 
            Gets or sets the ClusteredIndexOptionsTDocument.
              | |
| Collation | 
            Gets or sets the collation.
              (Inherited from CreateCollectionOptions.) | |
| DocumentSerializer | 
            Gets or sets the document serializer.
              | |
| EncryptedFields | 
            Gets or sets encrypted fields.
              (Inherited from CreateCollectionOptions.) | |
| ExpireAfter | 
            Gets or sets a timespan indicating how long documents in a time series collection should be retained.
              (Inherited from CreateCollectionOptions.) | |
| IndexOptionDefaults | 
            Gets or sets the index option defaults.
              (Inherited from CreateCollectionOptions.) | |
| MaxDocuments | 
            Gets or sets the maximum number of documents (used with capped collections).
              (Inherited from CreateCollectionOptions.) | |
| MaxSize | 
            Gets or sets the maximum size of the collection (used with capped collections).
              (Inherited from CreateCollectionOptions.) | |
| NoPadding | 
            Gets or sets whether padding should not be used.
              (Inherited from CreateCollectionOptions.) | |
| SerializerRegistry | 
            Gets or sets the serializer registry.
              (Inherited from CreateCollectionOptions.) | |
| StorageEngine | 
            Gets or sets the storage engine options.
              (Inherited from CreateCollectionOptions.) | |
| TimeSeriesOptions | 
            Gets or sets the TimeSeriesOptions to use when creating a time series collection.
              (Inherited from CreateCollectionOptions.) | |
| UsePowerOf2Sizes | 
            Gets or sets a value indicating whether to use power of 2 sizes.
              (Inherited from CreateCollectionOptions.) | |
| ValidationAction | 
            Gets or sets the validation action.
              (Inherited from CreateCollectionOptions.) | |
| ValidationLevel | 
            Gets or sets the validation level.
              (Inherited from CreateCollectionOptions.) | |
| Validator | 
            Gets or sets the validator.
              |