Table of Contents

Method OpenWrite

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

OpenWrite(string)

Opens an existing GridFS file for writing.

public MongoGridFSStream OpenWrite(string remoteFileName)

Parameters

remoteFileName string

The remote file name.

Returns

MongoGridFSStream

A stream.

OpenWrite(string, MongoGridFSCreateOptions)

Opens an existing GridFS file for writing.

public MongoGridFSStream OpenWrite(string remoteFileName, MongoGridFSCreateOptions createOptions)

Parameters

remoteFileName string

The remote file name.

createOptions MongoGridFSCreateOptions

The create options.

Returns

MongoGridFSStream

A stream.