Microsoft Silverlight will reach end of support after October 2021. Learn more.
Controls how URI information is escaped.
Assembly: System (in System.dll)
'Declaration Public Enumeration UriFormat
public enum UriFormat
|UriEscaped||Escaping is performed according to the rules in RFC 3986.|
|Unescaped||No escaping is performed.|
|SafeUnescaped||Characters 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 "@".
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
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.