Method CreateText
CreateText(string)
Creates or opens a GridFS file for writing UTF-8 encoded text.
public StreamWriter CreateText(string remoteFileName)
Parameters
remoteFileName
stringThe remote file name.
Returns
- StreamWriter
A stream writer.
CreateText(string, MongoGridFSCreateOptions)
Creates or opens a GridFS file for writing UTF-8 encoded text.
public StreamWriter CreateText(string remoteFileName, MongoGridFSCreateOptions createOptions)
Parameters
remoteFileName
stringThe remote file name.
createOptions
MongoGridFSCreateOptionsThe create options.
Returns
- StreamWriter
A stream writer.