UriKind Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Defines the kinds of Uris for several Uri.Uri methods.

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

Syntax

'Declaration
Public Enumeration UriKind
public enum UriKind

Members

Member name Description
Supported by Silverlight for Windows PhoneSupported by Xbox 360 RelativeOrAbsolute The kind of the Uri is indeterminate.
Supported by Silverlight for Windows PhoneSupported by Xbox 360 Absolute The Uri is an absolute Uri.
Supported by Silverlight for Windows PhoneSupported by Xbox 360 Relative The Uri is a relative Uri.

Remarks

Absolute URIs are characterized by a complete reference to the resource (example: https://www.contoso.com/index.html), while a relative Uri depends on a previously defined base URI (example: /index.html).

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference