Table of Contents

Method Equals

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

Equals(MongoServerSettings)

Determines whether the specified MongoServerSettings is equal to this instance.

public bool Equals(MongoServerSettings obj)

Parameters

obj MongoServerSettings

The MongoServerSettings to compare with this instance.

Returns

bool

true if the specified MongoServerSettings is equal to this instance; otherwise, false.

Equals(object)

Determines whether the specified object is equal to this instance.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with this instance.

Returns

bool

true if the specified object is equal to this instance; otherwise, false.