UriKind Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the different kinds of URIs.
public enum class UriKind
public enum UriKind
type UriKind =
Public Enum UriKind
- Inheritance
Fields
Absolute | 1 | The URI is absolute. |
Relative | 2 | The URI is relative. |
RelativeOrAbsolute | 0 | The URI kind 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
).
The following list shows some APIs that use the UriKind
enum:
- Uri.Uri(String, UriKind)
- Uri.IsWellFormedUriString(String, UriKind)
- Uri.TryCreate(String, UriKind, Uri)
Applies to
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for