MongoGridFS.DeleteById Method (original) (raw)
MongoDB .NET Driver API Documentation
MongoGridFSDeleteById Method
Deletes a GridFS file.
Namespace: MongoDB.Driver.GridFS
Assembly: MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
public void DeleteById( BsonValue id )
Public Sub DeleteById ( id As BsonValue )
member DeleteById : id : BsonValue -> unit
Parameters
id
Type: MongoDB.BsonBsonValue
The GridFS file Id.
See Also