Uri.IsAbsoluteUri Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether the Uri instance is absolute.
public:
property bool IsAbsoluteUri { bool get(); };
public bool IsAbsoluteUri { get; }
member this.IsAbsoluteUri : bool
Public ReadOnly Property IsAbsoluteUri As Boolean
Property Value
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.