Click or drag to resize
IGridFSBucket Methods

The IGridFSBucket type exposes the following members.

Methods
  NameDescription
Public methodDelete
Deletes a file from GridFS.
Public methodDeleteAsync
Deletes a file from GridFS.
Public methodDownloadAsBytes
Downloads a file stored in GridFS and returns it as a byte array.
Public methodDownloadAsBytesAsync
Downloads a file stored in GridFS and returns it as a byte array.
Public methodDownloadAsBytesByName
Downloads a file stored in GridFS and returns it as a byte array.
Public methodDownloadAsBytesByNameAsync
Downloads a file stored in GridFS and returns it as a byte array.
Public methodDownloadToStream
Downloads a file stored in GridFS and writes the contents to a stream.
Public methodDownloadToStreamAsync
Downloads a file stored in GridFS and writes the contents to a stream.
Public methodDownloadToStreamByName
Downloads a file stored in GridFS and writes the contents to a stream.
Public methodDownloadToStreamByNameAsync
Downloads a file stored in GridFS and writes the contents to a stream.
Public methodDrop
Drops the files and chunks collections associated with this GridFS bucket.
Public methodDropAsync
Drops the files and chunks collections associated with this GridFS bucket.
Public methodFind
Finds matching entries from the files collection.
Public methodFindAsync
Finds matching entries from the files collection.
Public methodOpenDownloadStream
Opens a Stream that can be used by the application to read data from a GridFS file.
Public methodOpenDownloadStreamAsync
Opens a Stream that can be used by the application to read data from a GridFS file.
Public methodOpenDownloadStreamByName
Opens a Stream that can be used by the application to read data from a GridFS file.
Public methodOpenDownloadStreamByNameAsync
Opens a Stream that can be used by the application to read data from a GridFS file.
Public methodOpenUploadStream
Opens a Stream that can be used by the application to write data to a GridFS file.
Public methodOpenUploadStreamAsync
Opens a Stream that can be used by the application to write data to a GridFS file.
Public methodRename
Renames a GridFS file.
Public methodRenameAsync
Renames a GridFS file.
Public methodUploadFromBytes
Uploads a file (or a new revision of a file) to GridFS.
Public methodUploadFromBytesAsync
Uploads a file (or a new revision of a file) to GridFS.
Public methodUploadFromStream
Uploads a file (or a new revision of a file) to GridFS.
Public methodUploadFromStreamAsync
Uploads a file (or a new revision of a file) to GridFS.
Top
See Also