IGridFSBucket Interface |
Namespace: MongoDB.Driver.GridFS
The IGridFSBucket type exposes the following members.
Name | Description | |
---|---|---|
DeleteAsync |
Deletes a file from GridFS.
| |
DownloadAsBytesAsync |
Downloads a file stored in GridFS and returns it as a byte array.
| |
DownloadAsBytesByNameAsync |
Downloads a file stored in GridFS and returns it as a byte array.
| |
DownloadToStreamAsync |
Downloads a file stored in GridFS and writes the contents to a stream.
| |
DownloadToStreamByNameAsync |
Downloads a file stored in GridFS and writes the contents to a stream.
| |
DropAsync |
Drops the files and chunks collections associated with this GridFS bucket.
| |
FindAsync |
Finds matching entries from the files collection.
| |
OpenDownloadStreamAsync |
Opens a Stream that can be used by the application to read data from a GridFS file.
| |
OpenDownloadStreamByNameAsync |
Opens a Stream that can be used by the application to read data from a GridFS file.
| |
OpenUploadStreamAsync |
Opens a Stream that can be used by the application to write data to a GridFS file.
| |
RenameAsync |
Renames a GridFS file.
| |
UploadFromBytesAsync |
Uploads a file (or a new revision of a file) to GridFS.
| |
UploadFromStreamAsync |
Uploads a file (or a new revision of a file) to GridFS.
|
Name | Description | |
---|---|---|
Database |
Gets the database where the GridFS files are stored.
| |
Options |
Gets the options.
|