IGridFSBucket Interface |
Namespace: MongoDB.Driver.GridFS
The IGridFSBucket type exposes the following members.
Name | Description | |
---|---|---|
Delete |
Deletes a file from GridFS.
(Inherited from IGridFSBucketTFileId.) | |
DeleteAsync |
Deletes a file from GridFS.
(Inherited from IGridFSBucketTFileId.) | |
DownloadAsBytes |
Downloads a file stored in GridFS and returns it as a byte array.
(Inherited from IGridFSBucketTFileId.) | |
DownloadAsBytesAsync |
Downloads a file stored in GridFS and returns it as a byte array.
(Inherited from IGridFSBucketTFileId.) | |
DownloadAsBytesByName |
Downloads a file stored in GridFS and returns it as a byte array.
(Inherited from IGridFSBucketTFileId.) | |
DownloadAsBytesByNameAsync |
Downloads a file stored in GridFS and returns it as a byte array.
(Inherited from IGridFSBucketTFileId.) | |
DownloadToStream |
Downloads a file stored in GridFS and writes the contents to a stream.
(Inherited from IGridFSBucketTFileId.) | |
DownloadToStreamAsync |
Downloads a file stored in GridFS and writes the contents to a stream.
(Inherited from IGridFSBucketTFileId.) | |
DownloadToStreamByName |
Downloads a file stored in GridFS and writes the contents to a stream.
(Inherited from IGridFSBucketTFileId.) | |
DownloadToStreamByNameAsync |
Downloads a file stored in GridFS and writes the contents to a stream.
(Inherited from IGridFSBucketTFileId.) | |
Drop |
Drops the files and chunks collections associated with this GridFS bucket.
(Inherited from IGridFSBucketTFileId.) | |
DropAsync |
Drops the files and chunks collections associated with this GridFS bucket.
(Inherited from IGridFSBucketTFileId.) | |
Find(FilterDefinitionGridFSFileInfo, GridFSFindOptions, CancellationToken) |
Finds matching entries from the files collection.
| |
Find(FilterDefinitionGridFSFileInfoTFileId, GridFSFindOptionsTFileId, CancellationToken) |
Finds matching entries from the files collection.
(Inherited from IGridFSBucketTFileId.) | |
FindAsync(FilterDefinitionGridFSFileInfo, GridFSFindOptions, CancellationToken) |
Finds matching entries from the files collection.
| |
FindAsync(FilterDefinitionGridFSFileInfoTFileId, GridFSFindOptionsTFileId, CancellationToken) |
Finds matching entries from the files collection.
(Inherited from IGridFSBucketTFileId.) | |
OpenDownloadStream |
Opens a Stream that can be used by the application to read data from a GridFS file.
(Inherited from IGridFSBucketTFileId.) | |
OpenDownloadStreamAsync |
Opens a Stream that can be used by the application to read data from a GridFS file.
(Inherited from IGridFSBucketTFileId.) | |
OpenDownloadStreamByName |
Opens a Stream that can be used by the application to read data from a GridFS file.
(Inherited from IGridFSBucketTFileId.) | |
OpenDownloadStreamByNameAsync |
Opens a Stream that can be used by the application to read data from a GridFS file.
(Inherited from IGridFSBucketTFileId.) | |
OpenUploadStream(String, GridFSUploadOptions, CancellationToken) |
Opens a Stream that can be used by the application to write data to a GridFS file.
| |
OpenUploadStream(TFileId, String, GridFSUploadOptions, CancellationToken) |
Opens a Stream that can be used by the application to write data to a GridFS file.
(Inherited from IGridFSBucketTFileId.) | |
OpenUploadStreamAsync(String, GridFSUploadOptions, CancellationToken) |
Opens a Stream that can be used by the application to write data to a GridFS file.
| |
OpenUploadStreamAsync(TFileId, String, GridFSUploadOptions, CancellationToken) |
Opens a Stream that can be used by the application to write data to a GridFS file.
(Inherited from IGridFSBucketTFileId.) | |
Rename |
Renames a GridFS file.
(Inherited from IGridFSBucketTFileId.) | |
RenameAsync |
Renames a GridFS file.
(Inherited from IGridFSBucketTFileId.) | |
UploadFromBytes(String, Byte, GridFSUploadOptions, CancellationToken) |
Uploads a file (or a new revision of a file) to GridFS.
| |
UploadFromBytes(TFileId, String, Byte, GridFSUploadOptions, CancellationToken) |
Uploads a file (or a new revision of a file) to GridFS.
(Inherited from IGridFSBucketTFileId.) | |
UploadFromBytesAsync(String, Byte, GridFSUploadOptions, CancellationToken) |
Uploads a file (or a new revision of a file) to GridFS.
| |
UploadFromBytesAsync(TFileId, String, Byte, GridFSUploadOptions, CancellationToken) |
Uploads a file (or a new revision of a file) to GridFS.
(Inherited from IGridFSBucketTFileId.) | |
UploadFromStream(String, Stream, GridFSUploadOptions, CancellationToken) |
Uploads a file (or a new revision of a file) to GridFS.
| |
UploadFromStream(TFileId, String, Stream, GridFSUploadOptions, CancellationToken) |
Uploads a file (or a new revision of a file) to GridFS.
(Inherited from IGridFSBucketTFileId.) | |
UploadFromStreamAsync(String, Stream, GridFSUploadOptions, CancellationToken) |
Uploads a file (or a new revision of a file) to GridFS.
| |
UploadFromStreamAsync(TFileId, String, Stream, GridFSUploadOptions, CancellationToken) |
Uploads a file (or a new revision of a file) to GridFS.
(Inherited from IGridFSBucketTFileId.) |
Name | Description | |
---|---|---|
Database |
Gets the database where the GridFS files are stored.
(Inherited from IGridFSBucketTFileId.) | |
Options |
Gets the options.
(Inherited from IGridFSBucketTFileId.) |