MongoGridFSSettings Class (original) (raw)
Represents setting for GridFS.
Inheritance Hierarchy
SystemObject
MongoDB.Driver.GridFSMongoGridFSSettings
Namespace: MongoDB.Driver.GridFS
Assembly: MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
[SerializableAttribute] public class MongoGridFSSettings : IEquatable
Public Class MongoGridFSSettings Implements IEquatable(Of MongoGridFSSettings)[]
type MongoGridFSSettings =
class
interface IEquatable
end
The MongoGridFSSettings type exposes the following members.
Constructors
Properties
| | 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. |
Methods
Operators
| | Name | Description | |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------- |
| | Equality | Compares two MongoGridFSSettings. |
|
| Inequality | Compares two MongoGridFSSettings. |
Extension Methods
See Also