Table of Contents

Method Delete

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

Delete(TFileId, CancellationToken)

Deletes a file from GridFS.

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

Parameters

id TFileId

The file id.

cancellationToken CancellationToken

The cancellation token.