uri class : HostNameType getter
Description
Gets the host name type of the URI.
Syntax
uriInstance.HostNameType
Arguments
None.
Return value
| Class | Description |
| string | The host name type of the URI. |
Sample code
| 1: | uri u = new uri("http://www.example.com/aaa/bbb.html"); |
| 2: | string typeString = u.HostNameType; |
Notes
It's a wrapper of the System.Uri.HostNameType property.


