Parses a domain name from a string

Namespace:  JHSoftware.SimpleDNS.Plugin
Assembly:  sdnsplugin (in sdnsplugin)
Version: 5.0.110.0 (5.0.110.0)

Syntax

C#
public static DomainName Parse(
	string s
)
Visual Basic (Declaration)
Public Shared Function Parse ( _
	s As String _
) As DomainName
Visual C++
public:
static DomainName^ Parse(
	String^ s
)

Parameters

s
Type: System..::.String
The string to parse from

Return Value

The resulting domain name

Exceptions

ExceptionCondition
System..::.ArgumentExceptionIf the string could not be parsed into a domain name

See Also