Uri.EscapeString Method
.NET Framework 1.1
Converts a string to its escaped representation.
[Visual Basic] Protected Shared Function EscapeString( _ ByVal str As String _ ) As String [C#] protected static string EscapeString( string str ); [C++] protected: static String* EscapeString( String* str ); [JScript] protected static function EscapeString( str : String ) : String;
Parameters
- str
- The string to transform to its escaped representation.
Return Value
The escaped representation of the string.
Remarks
The EscapeString method converts all characters with an ASCII value greater than 127 to hexidecimal representation.
The string is escaped according to RFC 2396.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard