IsAbsoluteUri Property

Uri.IsAbsoluteUri Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets whether the Uri instance is absolute.

Namespace:  System
Assembly:  System (in System.dll)

public bool IsAbsoluteUri { get; }

Property Value

Type: System.Boolean
A Boolean value that is true if the Uri instance is absolute; otherwise, false.

This property is true if the string or Uri instance that was passed into the constructor can be parsed as an absolute Uri instance, which contains a scheme, an authority, and a path. Otherwise, the Uri instance is treated as relative and might omit the scheme or other URI components.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft