Method TryParse

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver.Core.Misc

Assembly

MongoDB.Driver.dll

TryParse(string, out EndPoint)

Tries to parse the string representation of an end point.

public static bool TryParse(string value, out EndPoint result)

Parameters

value string

The value to parse.

result EndPoint

The result.

Returns

bool

True if the string representation was parsed successfully.