Uri.IsAbsoluteUri Property

 

Gets whether the Uri instance is absolute.

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

member IsAbsoluteUri : bool with 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 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: