@@ -175,7 +175,7 @@ stream for a given file name. These methods accept the following parameters:
175
175
**Data type**: {+string-data-type+}
176
176
* - ``options``
177
177
- *Optional.* An instance of the ``GridFSUploadOptions`` class that specifies the
178
- configuration for the upload stream. The default value is ``null``.
178
+ configuration for the upload stream. The default value is ``null``.
179
179
180
180
**Data type**: `GridFSUploadOptions <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.GridFS.GridFSUploadOptions.html>`__
181
181
* - ``cancellationToken``
@@ -282,6 +282,8 @@ Use the ``UploadFromStreamAsync()`` or ``UploadFromStream()`` method to upload t
282
282
contents of a stream to a new GridFS file. These methods accept the following parameters:
283
283
284
284
.. list-table::
285
+ :widths: 30 70
286
+ :header-rows: 1
285
287
286
288
* - Parameter
287
289
- Description
@@ -290,18 +292,18 @@ contents of a stream to a new GridFS file. These methods accept the following pa
290
292
- The name of the file to upload.
291
293
292
294
**Data type**: {+string-data-type+}
293
-
295
+
294
296
* - ``source``
295
297
- The stream from which to read the file contents.
296
298
297
299
**Data type**: `Stream <https://learn.microsoft.com/dotnet/api/system.io.stream>`__
298
-
300
+
299
301
* - ``options``
300
302
- *Optional.* An instance of the ``GridFSUploadOptions`` class that specifies the
301
303
configuration for the upload stream. The default value is ``null``.
302
304
303
305
**Data type**: `GridFSUploadOptions <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.GridFS.GridFSBucket.GridFSUploadOptions.html>`__
304
-
306
+
305
307
* - ``cancellationToken``
306
308
- *Optional.* A token that you can use to cancel the operation.
307
309
@@ -360,6 +362,8 @@ Use the ``OpenDownloadStreamAsync()`` or ``OpenDownloadStream()`` method to crea
360
362
download stream. These methods accept the following parameters:
361
363
362
364
.. list-table::
365
+ :widths: 30 70
366
+ :header-rows: 1
363
367
364
368
* - Parameter
365
369
- Description
@@ -415,6 +419,8 @@ To customize the download stream configuration, pass an instance of the
415
419
``GridFSDownloadOptions`` class contains the following properties:
416
420
417
421
.. list-table::
422
+ :widths: 30 70
423
+ :header-rows: 1
418
424
419
425
* - Property
420
426
- Description
@@ -459,6 +465,8 @@ Use the ``DownloadToStreamAsync()`` or ``DownloadToStream()`` method to download
459
465
contents of a GridFS file to an existing stream. These methods accept the following parameters:
460
466
461
467
.. list-table::
468
+ :widths: 30 70
469
+ :header-rows: 1
462
470
463
471
* - Parameter
464
472
- Description
@@ -522,6 +530,8 @@ To retrieve files from a GridFS bucket, call the ``FindAsync()`` or ``Find()`` m
522
530
on your ``GridFSBucket`` instance. These methods accept the following parameters:
523
531
524
532
.. list-table::
533
+ :widths: 30 70
534
+ :header-rows: 1
525
535
526
536
* - Parameter
527
537
- Description
@@ -633,6 +643,8 @@ its associated chunks from your bucket.
633
643
The ``DeleteAsync`` and ``Delete()`` methods accept the following parameters:
634
644
635
645
.. list-table::
646
+ :widths: 30 70
647
+ :header-rows: 1
636
648
637
649
* - Parameter
638
650
- Description
0 commit comments