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: http://www.contoso.com/index.html), while a relative Uri depends on a previously defined base URI (example: /index.html).