Table of Contents

Method Open

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

Open(FileMode)

Opens a GridFS file with the specified mode.

public MongoGridFSStream Open(FileMode mode)

Parameters

mode FileMode

The mode.

Returns

MongoGridFSStream

A stream.

Open(FileMode, FileAccess)

Opens a GridFS file with the specified mode and access.

public MongoGridFSStream Open(FileMode mode, FileAccess access)

Parameters

mode FileMode

The mode.

access FileAccess

The access.

Returns

MongoGridFSStream

A stream.