Windows apps
Collapse the table of content
Expand the table of content

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 UriKind

Member nameDescription
Absolute

The Uri is an absolute Uri.

Relative

The Uri is a relative Uri.

RelativeOrAbsolute

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
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2016 Microsoft