CreateCollectionOptionsTDocument Class |
Namespace: MongoDB.Driver
The CreateCollectionOptionsTDocument type exposes the following members.
Name | Description | |
---|---|---|
CreateCollectionOptionsTDocument | Initializes a new instance of the CreateCollectionOptionsTDocument class |
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.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |