C# Uri EscapeString
Description
Uri EscapeString
converts a string to its escaped representation.
Syntax
Uri.EscapeString
has the following syntax.
[ObsoleteAttribute("The method has been deprecated. Please use GetComponents() or static EscapeUriString() to escape a Uri component or a string. http://go.microsoft.com/fwlink/?linkid=14202")]
protected static string EscapeString(
string str
)
Parameters
Uri.EscapeString
has the following parameters.
str
- The string to transform to its escaped representation.
Returns
Uri.EscapeString
method returns The escaped representation of the string.