Windows Dev Center

Uri.AbsoluteUri | absoluteUri property

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.).

Syntax


var absoluteUri = uri.absoluteUri;

Property value

Type: String [JavaScript] | Platform::String [C++]

The entire, non-canonical URI.

Remarks

The Windows.Foundation.Uri class doesn't percent-encode non-ASCII characters in Uniform Resource Identifiers (URIs) where the scheme refers to a Windows file path (like ms-appx:). Windows.Foundation.Uri also interprets percent-encoding using the user's current codepage. For this reason the value of this property is not always strictly a URI, per either RFC 3986 or RFC 3987. If you want a strict URI, use the AbsoluteCanonicalUri value instead.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Foundation
Windows::Foundation [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Foundation
Windows::Foundation [C++]

Metadata

Windows.winmd

See also

Uri
AbsoluteCanonicalUri

 

 

Show:
© 2015 Microsoft