Table of Contents

Method Delete

Namespace
MongoDB.Driver.GridFS
Assembly
MongoDB.Driver.dll

Delete(BsonValue, CancellationToken)

Deletes a file from GridFS.

public void Delete(BsonValue id, CancellationToken cancellationToken = default)

Parameters

id BsonValue

The file id.

cancellationToken CancellationToken

The cancellation token.