Method SetMetadata
SetMetadata(MongoGridFSFileInfo, BsonValue)
Sets the metadata for an existing GridFS file.
public void SetMetadata(MongoGridFSFileInfo fileInfo, BsonValue metadata)
Parameters
fileInfo
MongoGridFSFileInfoThe GridFS file.
metadata
BsonValueThe metadata.