Edit

Share via


TypeName.Unescape(String) Method

Definition

Converts any escaped characters in the input type name or namespace.

public:
 static System::String ^ Unescape(System::String ^ name);
public static string Unescape(string name);
static member Unescape : string -> string
Public Shared Function Unescape (name As String) As String

Parameters

name
String

The input string containing the name to convert.

Returns

A string of characters with any escaped characters converted to their unescaped form.

Remarks

The unescaped string can be used for looking up the type name or namespace in metadata.

This method removes escape characters even if they precede a character that does not require escaping.

Applies to