Method SetContentType
SetContentType(MongoGridFSFileInfo, string)
Sets the content type for an existing GridFS file.
public void SetContentType(MongoGridFSFileInfo fileInfo, string contentType)
Parameters
fileInfo
MongoGridFSFileInfoThe GridFS file.
contentType
stringThe content type.