UriKind Enumeration
Collapse the table of content
Expand the table of content

UriKind Enumeration

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Defines the kinds of Uris for several Uri.Uri methods.

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

public enum UriKind

Member nameDescription
AbsoluteThe Uri is an absolute Uri.
RelativeThe Uri is a relative Uri.
RelativeOrAbsoluteThe 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).

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2017 Microsoft