Uri.AbsoluteCanonicalUri Property

Definition

Gets a fully canonical RFC-compliant representation of the current URI.

public:
 property Platform::String ^ AbsoluteCanonicalUri { Platform::String ^ get(); };
winrt::hstring AbsoluteCanonicalUri();
public string AbsoluteCanonicalUri { get; }
var string = uri.absoluteCanonicalUri;
Public ReadOnly Property AbsoluteCanonicalUri As String

Property Value

String

Platform::String

winrt::hstring

The canonical URI.

Remarks

The canonical URI has all non-US ASCII characters represented as percent-encoded UTF-8 and as Punycode in the hostname.

Use the DisplayIri property instead if you want to decode this string so that it can be presented.

Applies to

See also