LumiSoft Net Help
Parse Method (value, defaultPort)
NamespacesLumiSoft.NetHostEndPointParse(String, Int32)
Parses HostEndPoint from the specified string.
Declaration Syntax
C#Visual BasicVisual 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
ExceptionCondition
ArgumentNullExceptionIs raised when value is null.
ArgumentExceptionIs raised when any of the arguments has invalid value.

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