IPHelperSplitAddress Method |
Felbontja IP:port-ra a megadott cimet. Ha nincs a cimben port, akkor az erteke a defaultPort parameterben megadott ertek lesz.
Namespace: Ozeki.CommonAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public static OzTuple<string, int> SplitAddress(
string address,
int defaultPort = 0
)
Public Shared Function SplitAddress (
address As String,
Optional defaultPort As Integer = 0
) As OzTuple(Of String, Integer)
public:
static OzTuple<String^, int>^ SplitAddress(
String^ address,
int defaultPort = 0
)
static member SplitAddress :
address : string *
?defaultPort : int
(* Defaults:
let _defaultPort = defaultArg defaultPort 0
*)
-> OzTuple<string, int>
Parameters
- address
- Type: SystemString
- defaultPort (Optional)
- Type: SystemInt32
Return Value
Type:
OzTupleString,
Int32See Also