Uri.AbsoluteUri Property

Definition

Gets the entire, non-canonical URI (It is non-canonical because it might actually be an IRI, per the Windows.Foundation.Uri encoding behavior; see Remarks.).

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

Property Value

String

Platform::String

winrt::hstring

The entire, non-canonical URI.

Remarks

This property is not always strictly a URI, per either RFC 3986 or RFC 3987. If you want a strict Uniform Resource Identifier (URI), use the AbsoluteCanonicalUri value instead.

Applies to

See also