Click or drag to resize

MongoUrlEquality Operator

Compares two MongoUrls.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
public static bool operator ==(
	MongoUrl lhs,
	MongoUrl rhs
)

Parameters

lhs
Type: MongoDB.DriverMongoUrl
The first URL.
rhs
Type: MongoDB.DriverMongoUrl
The other URL.

Return Value

Type: Boolean
True if the two URLs are equal (or both null).
See Also