Parses a domain name from a string
Namespace:
JHSoftware.SimpleDNS.PluginAssembly: 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
| Exception | Condition |
|---|---|
| System..::.ArgumentException | If the string could not be parsed into a domain name |