Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Converts an escaped string to an unescaped string.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Shared Function Unescape ( _
escaped As String, _
isFile As Boolean _
) As String
public static string Unescape(
string escaped,
bool isFile
)
public:
static String^ Unescape(
String^ escaped,
bool isFile
)
static member Unescape :
escaped:string *
isFile:bool -> string
public static function Unescape(
escaped : String,
isFile : boolean
) : String
Parameters
escaped
Type: StringThe string to convert.
isFile
Type: Booleantrue if the string represents a file URL; otherwise, false.
Return Value
Type: String
The unescaped string.
Remarks
This method converts hexadecimal-encoded characters to ASCII and replaces forward slashes to the default directory separator character.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.