Method Find
Find(FilterDefinition<GridFSFileInfo>, GridFSFindOptions, CancellationToken)
Finds matching entries from the files collection.
public IAsyncCursor<GridFSFileInfo> Find(FilterDefinition<GridFSFileInfo> filter, GridFSFindOptions options = null, CancellationToken cancellationToken = default)
Parameters
filter
FilterDefinition<GridFSFileInfo>The filter.
options
GridFSFindOptionsThe options.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- IAsyncCursor<GridFSFileInfo>
A cursor of files collection documents.