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.) | |
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.) | |
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 | 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.) |