Click or drag to resize

MongoServerAddress Methods

The MongoServerAddress type exposes the following members.

Methods
  NameDescription
Public methodEquals(Object)
Compares two server addresses.
(Overrides ObjectEquals(Object).)
Public methodEquals(MongoServerAddress)
Compares two server addresses.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode
Gets the hash code for this object.
(Overrides ObjectGetHashCode.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberParse
Parses a string representation of a server address.
Public methodToString
Returns a string representation of the server address.
(Overrides ObjectToString.)
Public methodStatic memberTryParse
Tries to parse a string representation of a server address.
Top
Extension Methods
  NameDescription
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Top
See Also