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

UriKind Enumeration

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

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

public enum UriKind

Member nameDescription
RelativeOrAbsoluteThe kind of the Uri is indeterminate.
AbsoluteThe Uri is an absolute Uri.
RelativeThe Uri is a relative Uri.

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

© 2017 Microsoft