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)
Syntax
'Declaration
Public Enumeration UriKind
public enum UriKind
public enum class UriKind
type UriKind
public enum UriKind
Members
Member name | Description | |
---|---|---|
RelativeOrAbsolute | The kind of the Uri is indeterminate. | |
Absolute | The Uri is an absolute Uri. | |
Relative | The Uri is a relative Uri. |
Remarks
Absolute URIs are characterized by a complete reference to the resource (example: https://www.contoso.com/index.html), while a relative Uri depends on a previously defined base URI (example: /index.html).