MongoGridFS Class |
Namespace: MongoDB.Driver.GridFS
The MongoGridFS type exposes the following members.
Name | Description | |
---|---|---|
![]() | MongoGridFS(MongoDatabase) | Obsolete.
Initializes a new instance of the MongoGridFS class.
|
![]() | MongoGridFS(MongoDatabase, MongoGridFSSettings) | Obsolete.
Initializes a new instance of the MongoGridFS class.
|
![]() | MongoGridFS(MongoServer, String, MongoGridFSSettings) |
Initializes a new instance of the MongoGridFS class.
|
Name | Description | |
---|---|---|
![]() | AppendText |
Appends UTF-8 encoded text to an existing GridFS file.
|
![]() | CopyTo(String, String) |
Copies a GridFS file.
|
![]() | CopyTo(String, String, MongoGridFSCreateOptions) |
Copies a GridFS file.
|
![]() | Create(String) |
Creates or overwrites a GridFS file.
|
![]() | Create(String, MongoGridFSCreateOptions) |
Creates or overwrites a GridFS file.
|
![]() | CreateText(String) |
Creates or opens a GridFS file for writing UTF-8 encoded text.
|
![]() | CreateText(String, MongoGridFSCreateOptions) |
Creates or opens a GridFS file for writing UTF-8 encoded text.
|
![]() | Delete(String) |
Deletes all versions of a GridFS file.
|
![]() | Delete(IMongoQuery) |
Deletes GridFS files.
|
![]() | DeleteById |
Deletes a GridFS file.
|
![]() | Download(String) |
Downloads the most recent version of a GridFS file.
|
![]() | Download(Stream, MongoGridFSFileInfo) |
Downloads a GridFS file.
|
![]() | Download(Stream, IMongoQuery) |
Downloads the most recent version of a GridFS file.
|
![]() | Download(Stream, String) |
Downloads the most recent version of a GridFS file.
|
![]() | Download(String, MongoGridFSFileInfo) |
Downloads a GridFS file.
|
![]() | Download(String, IMongoQuery) |
Downloads the most recent version of a GridFS file.
|
![]() | Download(String, Int32) |
Downloads a specific version of a GridFS file.
|
![]() | Download(String, String) |
Downloads the most recent version of a GridFS file.
|
![]() | Download(Stream, IMongoQuery, Int32) |
Downloads a specific version of a GridFS file.
|
![]() | Download(Stream, String, Int32) |
Downloads a specific version of a GridFS file.
|
![]() | Download(String, IMongoQuery, Int32) |
Downloads a specific version of a GridFS file.
|
![]() | Download(String, String, Int32) |
Downloads a specific version of a GridFS file.
|
![]() | EnsureIndexes |
Ensures that the proper indexes for GridFS exist (only creates the new indexes if there are fewer than 1000 GridFS files).
|
![]() | EnsureIndexes(Int32) |
Ensures that the proper indexes for GridFS exist.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Exists(String) |
Tests whether a GridFS file exists.
|
![]() | Exists(IMongoQuery) |
Tests whether a GridFS file exists.
|
![]() | ExistsById |
Tests whether a GridFS file exists.
|
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | Find(String) |
Finds matching GridFS files.
|
![]() | Find(IMongoQuery) |
Finds matching GridFS files.
|
![]() | FindAll |
Finds all GridFS files.
|
![]() | FindOne(String) |
Finds the most recent version of a GridFS file.
|
![]() | FindOne(IMongoQuery) |
Finds the most recent version of a GridFS file.
|
![]() | FindOne(String, Int32) |
Finds a specific version of a GridFS file.
|
![]() | FindOne(IMongoQuery, Int32) |
Finds a specific version of a GridFS file.
|
![]() | FindOneById |
Finds a GridFS file.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | MoveTo |
Moves the most recent version of a GridFS file.
|
![]() | Open(String, FileMode) |
Opens a GridFS file with the specified mode.
|
![]() | Open(String, FileMode, FileAccess) |
Opens a GridFS file with the specified mode and access.
|
![]() | Open(String, FileMode, FileAccess, MongoGridFSCreateOptions) |
Opens a GridFS file with the specified mode, access and create options.
|
![]() | OpenRead |
Opens an existing GridFS file for reading.
|
![]() | OpenText |
Opens an existing UTF-8 encoded text GridFS file for reading.
|
![]() | OpenWrite(String) |
Opens an existing GridFS file for writing.
|
![]() | OpenWrite(String, MongoGridFSCreateOptions) |
Opens an existing GridFS file for writing.
|
![]() | SetAliases |
Sets the aliases for an existing GridFS file.
|
![]() | SetContentType |
Sets the content type for an existing GridFS file.
|
![]() | SetMetadata |
Sets the metadata for an existing GridFS file.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Upload(String) |
Uploads a GridFS file.
|
![]() | Upload(Stream, String) |
Uploads a GridFS file.
|
![]() | Upload(String, String) |
Uploads a GridFS file.
|
![]() | Upload(Stream, String, MongoGridFSCreateOptions) |
Uploads a GridFS file.
|
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.) |
Name | Description | |
---|---|---|
![]() | Chunks |
Gets the chunks collection.
|
![]() | Database |
Gets the database containing the GridFS collections.
|
![]() | DatabaseName |
Gets the database containing the GridFS collections.
|
![]() | Files |
Gets the files collection.
|
![]() | Server |
Gets the server containing the GridFS collections.
|
![]() | Settings |
Gets the GridFS settings.
|