Method Create
Create(string)
Creates or overwrites a GridFS file.
public MongoGridFSStream Create(string remoteFileName)
Parameters
remoteFileName
stringThe remote file name.
Returns
- MongoGridFSStream
A stream.
Create(string, MongoGridFSCreateOptions)
Creates or overwrites a GridFS file.
public MongoGridFSStream Create(string remoteFileName, MongoGridFSCreateOptions createOptions)
Parameters
remoteFileName
stringThe remote file name.
createOptions
MongoGridFSCreateOptionsThe create options.
Returns
- MongoGridFSStream
A stream.