Table of Contents

Method Find

Namespace
MongoDB.Driver.GridFS
Assembly
MongoDB.Driver.Legacy.dll

Find(IMongoQuery)

Finds matching GridFS files.

public MongoCursor<MongoGridFSFileInfo> Find(IMongoQuery query)

Parameters

query IMongoQuery

A query.

Returns

MongoCursor<MongoGridFSFileInfo>

The matching GridFS files.

Find(string)

Finds matching GridFS files.

public MongoCursor<MongoGridFSFileInfo> Find(string remoteFileName)

Parameters

remoteFileName string

The remote file name.

Returns

MongoCursor<MongoGridFSFileInfo>

The matching GridFS files.