Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UriKind Enumeration

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

Namespace:  System
Assembly:  System (in System.dll)

public enum UriKind

Member nameDescription
Supported by the XNA FrameworkSupported by Portable Class LibraryAbsoluteThe Uri is an absolute Uri.
Supported by the XNA FrameworkSupported by Portable Class LibraryRelativeThe Uri is a relative Uri.
Supported by the XNA FrameworkSupported by Portable Class LibraryRelativeOrAbsoluteThe kind of the Uri is indeterminate.

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft