MongoUrlEquality Operator |
Compares two MongoUrls.
Namespace: MongoDB.DriverAssembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.1.0
Syntax public static bool operator ==(
MongoUrl lhs,
MongoUrl rhs
)
Public Shared Operator = (
lhs As MongoUrl,
rhs As MongoUrl
) As Boolean
static let inline (=)
lhs : MongoUrl *
rhs : MongoUrl : bool
Parameters
- lhs
- Type: MongoDB.DriverMongoUrl
The first URL. - rhs
- Type: MongoDB.DriverMongoUrl
The other URL.
Return Value
Type:
BooleanTrue if the two URLs are equal (or both null).
See Also