Export (0) Print
Expand All
Expand Minimize

UriFormat Enumeration

Controls how URI information is escaped.

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

public enum UriFormat

Member nameDescription
Supported by Silverlight for Windows PhoneSupported by Xbox 360UriEscapedEscaping is performed according to the rules in RFC 3986.
Supported by Silverlight for Windows PhoneSupported by Xbox 360UnescapedNo escaping is performed.
Supported by Silverlight for Windows PhoneSupported by Xbox 360SafeUnescapedCharacters that have a reserved meaning in the requested URI components remain escaped. All others are not escaped. See Remarks.

This enumeration is used by the GetComponents method to specify the level of character escaping in the returned URI.

RFC 3986 defines the standard escaping for URIs, and is available at http://rfc-editor.org.

SafeUnescaped leaves the following characters escaped if the character has a reserved meaning in the requested UriComponents: "%", "#", "?", "/", "\", and "@".

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

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

Community Additions

ADD
Show:
© 2014 Microsoft