ValidateHelperIsIPv6 Method |
是否为IPV6 IP
Namespace: AdfAssembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax public static bool IsIPv6(
string source,
bool hasIPv4 = false
)
Public Shared Function IsIPv6 (
source As String,
Optional hasIPv4 As Boolean = false
) As Boolean
public:
static bool IsIPv6(
String^ source,
bool hasIPv4 = false
)
static member IsIPv6 :
source : string *
?hasIPv4 : bool
(* Defaults:
let _hasIPv4 = defaultArg hasIPv4 false
*)
-> bool
Parameters
- source
- Type: SystemString
[Missing <param name="source"/> documentation for "M:Adf.ValidateHelper.IsIPv6(System.String,System.Boolean)"]
- hasIPv4 (Optional)
- Type: SystemBoolean
[Missing <param name="hasIPv4"/> documentation for "M:Adf.ValidateHelper.IsIPv6(System.String,System.Boolean)"]
Return Value
Type:
Boolean[Missing <returns> documentation for "M:Adf.ValidateHelper.IsIPv6(System.String,System.Boolean)"]
See Also