Table of Contents

Constructor MongoGridFSStream

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

MongoGridFSStream(MongoGridFSFileInfo, FileMode)

Initializes a new instance of the MongoGridFSStream class.

public MongoGridFSStream(MongoGridFSFileInfo fileInfo, FileMode mode)

Parameters

fileInfo MongoGridFSFileInfo

The GridFS file info.

mode FileMode

The mode.

MongoGridFSStream(MongoGridFSFileInfo, FileMode, FileAccess)

Initializes a new instance of the MongoGridFSStream class.

public MongoGridFSStream(MongoGridFSFileInfo fileInfo, FileMode mode, FileAccess access)

Parameters

fileInfo MongoGridFSFileInfo

The GridFS file info.

mode FileMode

The mode.

access FileAccess

The acess.