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 |
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.) | |
Collation |
Gets or sets the collation.
(Inherited from CreateCollectionOptions.) | |
DocumentSerializer |
Gets or sets the document serializer.
| |
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.) | |
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 | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ToString | (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.) |