xtd::string xtd::uri::get_components | ( | xtd::uri_components | components, |
xtd::uri_format | format | ||
) | const |
Gets the specified components of the current instance using the specified escaping for special characters.
components | A bitwise combination of the xtd::uri_components values that specifies which parts of the current instance to return to the caller. |
format | One of the xtd::uri_format values that controls how special characters are escaped. |
xtd::invalid_operation_exception | This instance represents a relative URI, and this property is valid only for absolute URIs. |