Uri.UserEscaped Property
Silverlight
Indicates that the URI string was completely escaped before the Uri instance was created.
Namespace: System
Assembly: System (in System.dll)
The UserEscaped property is set to true to indicate that the string used to create the Uri instance was completely escaped before it was passed to the constructor; that is, the dontEscape parameter of the constructor call was set to true.
The following example creates a Uri instance and determines whether it was fully escaped when it was created.
Uri uriAddress3 = new Uri ("http://user:password@www.contoso.com/index.htm ");
outputBlock.Text += uriAddress3.UserInfo;
outputBlock.Text += "\n";
if (uriAddress.UserEscaped)
outputBlock.Text += "Fully Escaped yes\n";
else
outputBlock.Text += "Fully Escaped no\n";
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.