Table of Contents

Operator operator ==

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

operator ==(MongoGridFSFileInfo, MongoGridFSFileInfo)

Determines whether two specified MongoGridFSFileInfo objects have the same value.

public static bool operator ==(MongoGridFSFileInfo lhs, MongoGridFSFileInfo rhs)

Parameters

lhs MongoGridFSFileInfo

The first value to compare, or null.

rhs MongoGridFSFileInfo

The second value to compare, or null.

Returns

bool

True if the value of lhs is the same as the value of rhs; otherwise, false.