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