DomainNameTryParse Method
Parses the string representation of a domain name
Namespace: ARSoft.Tools.NetAssembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
public static bool TryParse(
string s,
out DomainName?? name
)
Public Shared Function TryParse (
s As String,
<OutAttribute> ByRef name As DomainName
) As Boolean
public:
static bool TryParse(
String^ s,
[OutAttribute] DomainName^% name
)
static member TryParse :
s : string *
name : DomainName byref -> bool
- s String
- The string representation of the domain name to parse
- name DomainName
-
When this method returns, contains a DomainName instance representing s or null, if s could not be
parsed
Booleantrue, if s was parsed successfully; otherwise, false