xtd 0.2.0
Loading...
Searching...
No Matches

◆ host_name_type()

xtd::uri_host_name_type xtd::uri::host_name_type ( ) const

Gets the type of the host name specified in the URI.

Returns
xtd::uri_host_name_type A member of the xtd::uri_host_name_type enumeration.
Exceptions
xtd::invalid_operation_exceptionThis instance represents a relative URI, and this property is valid only for absolute URIs.