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)

Syntax

Public ReadOnly Property IsAbsoluteUri As Boolean
public bool IsAbsoluteUri { get; }

Property Value

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

Remarks

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.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

Uri Class

System Namespace