[This is preliminary documentation and is subject to change.]
Converts string of format "xx.xx.xx.xx:nnnn" into IPEndPoint.
DNS names are NOT supported
Namespace: NFXAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
[ObsoleteAttribute]
public static IPEndPoint IPStringToIPEndPoint(
this string str
)
[ObsoleteAttribute]
public static IPEndPoint IPStringToIPEndPoint(
this string str
)
<ObsoleteAttribute>
<ExtensionAttribute>
Public Shared Function IPStringToIPEndPoint (
str As String
) As IPEndPoint
<ObsoleteAttribute>
<ExtensionAttribute>
Public Shared Function IPStringToIPEndPoint (
str As String
) As IPEndPoint
public:
[ObsoleteAttribute]
[ExtensionAttribute]
static IPEndPoint^ IPStringToIPEndPoint(
String^ str
)
public:
[ObsoleteAttribute]
[ExtensionAttribute]
static IPEndPoint^ IPStringToIPEndPoint(
String^ str
)
[<ObsoleteAttribute>]
static member IPStringToIPEndPoint :
str : string -> IPEndPoint
[<ObsoleteAttribute>]
static member IPStringToIPEndPoint :
str : string -> IPEndPoint
Return Value
Type:
IPEndPointUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).