DomainNameTryParse Method

Parses the string representation of a domain name

Definition

Namespace: ARSoft.Tools.Net
Assembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
C#
public static bool TryParse(
	string s,
	out DomainName?? name
)

Parameters

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

Return Value

Boolean
true, if s was parsed successfully; otherwise, false

See Also