UriKind Enumeration


Defines the kinds of Uris for the Uri::IsWellFormedUriString(String^, UriKind) and several Uri::Uri methods.

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

public enum class UriKind

Member nameDescription

The Uri is an absolute Uri.


The Uri is a relative Uri.


The kind of the Uri is indeterminate.

Absolute URIs are characterized by a complete reference to the resource (example: http://www.contoso.com/index.html), while a relative Uri depends on a previously defined base URI (example: /index.html).

Universal Windows Platform
Available since 8
.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