Table of Contents

Method ExistsById

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

ExistsById(BsonValue)

Tests whether a GridFS file exists.

public bool ExistsById(BsonValue id)

Parameters

id BsonValue

The GridFS file.

Returns

bool

True if the GridFS file exists.