| CollectionOptions Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: MongoDB.Driver.Builders
 Syntax
SyntaxThe CollectionOptions type exposes the following members.
 Properties
Properties Methods
Methods| Name | Description | |
|---|---|---|
|   | SetAutoIndexId | Obsolete. 
            Sets whether to automatically create an index on the _id element.
             | 
|   | SetCapped | 
            Sets whether the collection is capped.
             | 
|   | SetCollation | 
            Sets the collation.
             | 
|   | SetIndexOptionDefaults | 
            Sets the index options defaults.
             | 
|   | SetMaxDocuments | 
            Sets the max number of documents in a capped collection.
             | 
|   | SetMaxSize | 
            Sets the max size of a capped collection.
             | 
|   | SetStorageEngineOptions | 
            Sets the storage engine options.
             | 
|   | SetValidationAction | 
            Sets the validation action.
             | 
|   | SetValidationLevel | 
            Sets the validation level.
             | 
|   | SetValidator | 
            Sets the validator.
             | 
 See Also
See Also