UriKind 列挙型
定義
さまざまな種類の URI を定義します。Defines the different kinds of URIs.
public enum class UriKind
public enum UriKind
type UriKind =
Public Enum UriKind
- 継承
フィールド
Absolute | 1 | URI は絶対 URI です。The URI is absolute. |
Relative | 2 | URI は相対 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
).
列挙型を使用する Api の一覧を次に示し UriKind
ます。The following list shows some APIs that use the UriKind
enum:
- Uri.Uri(String, UriKind)
- Uri.IsWellFormedUriString(String, UriKind)
- Uri.TryCreate(String, UriKind, Uri)