| MongoServerAddress Methods |
The MongoServerAddress type exposes the following members.
| Name | Description | |
|---|---|---|
| Equals(Object) |
Compares two server addresses.
(Overrides ObjectEquals(Object).) | |
| Equals(MongoServerAddress) |
Compares two server addresses.
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode |
Gets the hash code for this object.
(Overrides ObjectGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Parse |
Parses a string representation of a server address.
| |
| ToString |
Returns a string representation of the server address.
(Overrides ObjectToString.) | |
| TryParse |
Tries to parse a string representation of a server address.
|
| Name | Description | |
|---|---|---|
| ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
| ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
| ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |