Table of Contents

Method Rename

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

Rename(TFileId, string, CancellationToken)

Renames a GridFS file.

void Rename(TFileId id, string newFilename, CancellationToken cancellationToken = default)

Parameters

id TFileId

The file id.

newFilename string

The new filename.

cancellationToken CancellationToken

The cancellation token.