LumiSoft Net Help
Parse Method (value, defaultPort)
Namespaces ► LumiSoft.Net ► HostEndPoint ► Parse(String, Int32)
Parses HostEndPoint from the specified string.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public static HostEndPoint Parse(
    	string value,
    	int defaultPort
    )

    Public Shared Function Parse (
    	value As String,
    	defaultPort As Integer
    ) As HostEndPoint

    public:
    static HostEndPoint^ Parse(
    	String^ value,
    	int defaultPort
    )

    static member Parse :
            value : string *
            defaultPort : int -> HostEndPoint

Parameters

value (String)
  HostEndPoint value.

defaultPort (Int32)
  If port isn't specified in value, specified port will be used.

Return Value
HostEndPoint
Returns parsed HostEndPoint value.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when value is null.
ArgumentException | Is raised when any of the arguments has invalid value.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119