MongoGridFSSettings Class |
Namespace: MongoDB.Driver.GridFS
The MongoGridFSSettings type exposes the following members.
| Name | Description | |
|---|---|---|
| MongoGridFSSettings |
Initializes a new instance of the MongoGridFSSettings class.
| |
| MongoGridFSSettings(MongoDatabase) | Obsolete.
Initializes a new instance of the MongoGridFSSettings class.
| |
| MongoGridFSSettings(Int32, String, WriteConcern) | Obsolete.
Initializes a new instance of the MongoGridFSSettings class.
|
| Name | Description | |
|---|---|---|
| ChunksCollectionName | Obsolete.
Gets the chunks collection name.
| |
| ChunkSize |
Gets or sets the chunk size.
| |
| Defaults |
Gets or sets the default GridFS settings.
| |
| FilesCollectionName | Obsolete.
Gets the files collection name.
| |
| GuidRepresentation |
Gets or sets the GuidRepresentation.
| |
| IsFrozen |
Gets a value indicating whether the settings are frozen.
| |
| ReadEncoding |
Gets or sets the read encoding.
| |
| ReadPreference |
Gets or sets the ReadPreference.
| |
| Root |
Gets or sets the root collection name (the files and chunks collection names are derived from the root).
| |
| UpdateMD5 |
Gets or sets a value indicating whether to udpate the MD5 hash on the server when a file is uploaded or modified.
| |
| VerifyMD5 |
Gets or sets a value indicating whether to verify the MD5 hash when a file is uploaded or downloaded.
| |
| WriteConcern |
Gets or sets the WriteConcern.
| |
| WriteEncoding |
Gets or sets the write encoding.
|
| Name | Description | |
|---|---|---|
| Clone |
Creates a clone of the settings.
| |
| Equals(Object) |
Compares this MongoGridFSSettings to another object.
(Overrides ObjectEquals(Object).) | |
| Equals(MongoGridFSSettings) |
Compares this MongoGridFSSettings to another one.
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| Freeze |
Freezes the settings.
| |
| FrozenCopy |
Returns a frozen copy of the settings.
| |
| GetHashCode |
Gets the hash code.
(Overrides ObjectGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| Equality |
Compares two MongoGridFSSettings.
| |
| Inequality |
Compares two MongoGridFSSettings.
|
| 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.) |