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

◆ to_string()

xtd::ustring xtd::uri::to_string ( ) const
overridevirtualnoexcept

Gets a canonical string representation for the specified xtd::uri instance.

Returns
string A string instance that contains the unescaped canonical representation of the xtd::uri instance. All characters are unescaped except #, ?, and %.
Remarks
The string returned by this method does not contain port information when the port is the default port for the scheme.

Reimplemented from xtd::object.