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 | | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------- | | Public property | ChunksCollectionName | Obsolete. Gets the chunks collection name. | | Public property | ChunkSize | Gets or sets the chunk size. | | Public propertyStatic member | Defaults | Gets or sets the default GridFS settings. | | Public property | FilesCollectionName | Obsolete. Gets the files collection name. | | Public property | GuidRepresentation | Gets or sets the GuidRepresentation. | | Public property | IsFrozen | Gets a value indicating whether the settings are frozen. | | Public property | ReadEncoding | Gets or sets the read encoding. | | Public property | ReadPreference | Gets or sets the ReadPreference. | | Public property | Root | Gets or sets the root collection name (the files and chunks collection names are derived from the root). | | Public property | UpdateMD5 | Gets or sets a value indicating whether to udpate the MD5 hash on the server when a file is uploaded or modified. | | Public property | VerifyMD5 | Gets or sets a value indicating whether to verify the MD5 hash when a file is uploaded or downloaded. | | Public property | WriteConcern | Gets or sets the WriteConcern. | | Public property | WriteEncoding | Gets or sets the write encoding. |

Top

Methods

Operators

| | Name | Description | | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------- | | Public operatorStatic member | Equality | Compares two MongoGridFSSettings. | | Public operatorStatic member | Inequality | Compares two MongoGridFSSettings. |

Top

Extension Methods

See Also

Reference