UriKind UriKind UriKind UriKind Enum

Definition

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

public enum class UriKind
public enum UriKind
type UriKind = 
Public Enum UriKind
Inheritance

Fields

Absolute Absolute Absolute Absolute 1

The Uri is an absolute Uri.

Relative Relative Relative Relative 2

The Uri is a relative Uri.

RelativeOrAbsolute RelativeOrAbsolute RelativeOrAbsolute RelativeOrAbsolute 0

The kind of the Uri is indeterminate.

Remarks

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).

Applies to