Operator operator == NamespaceMongoDB.Driver AssemblyMongoDB.Driver.dll operator ==(MongoUrl, MongoUrl) Compares two MongoUrls. public static bool operator ==(MongoUrl lhs, MongoUrl rhs) Parameters lhs MongoUrl The first URL. rhs MongoUrl The other URL. Returns bool True if the two URLs are equal (or both null).