Uri.IsAbsoluteUri Property


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.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft