Table of Contents

Method Equals

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Equals(MongoServerAddress)

Compares two server addresses.

public bool Equals(MongoServerAddress rhs)

Parameters

rhs MongoServerAddress

The other server address.

Returns

bool

True if the two server addresses are equal.

Equals(object)

Compares two server addresses.

public override bool Equals(object obj)

Parameters

obj object

The other server address.

Returns

bool

True if the two server addresses are equal.