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

◆ is_default_port()

bool xtd::uri::is_default_port ( ) const

Gets whether the port value of the URI is the default for this scheme.

Returns
bool A bool value that is true if the value in the port property is the default port for this scheme; otherwise, false.
Exceptions
xtd::invalid_operation_exceptionThis instance represents a relative URI, and this property is valid only for absolute URIs.