UriKind 枚举

定义

定义不同类型的 URI。Defines the different kinds of URIs.

public enum class UriKind
public enum UriKind
type UriKind = 
Public Enum UriKind
继承

字段

Absolute 1

该 URI 是绝对的。The URI is absolute.

Relative 2

该 URI 是相对的。The URI is relative.

RelativeOrAbsolute 0

URI 类型不确定。The URI kind is indeterminate.

注解

绝对 uri 的特征是对资源进行完整引用 (例如: http://www.contoso.com/index.html), 而相对 uri 依赖于先前定义的基 uri (例如: /index.html)。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).

以下列表显示了一些使用UriKind枚举的 api:The following list shows some APIs that use the UriKind enum:

适用于