GlobalObject::escape Method (Object^)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Converts the specified string to use the % character to escape reserved characters (@, *, _, +, -, ., /) and express them in Unicode notation.

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

public:
[NotRecommended("escape")]
[JSFunctionAttribute(JSFunctionAttributeEnum::None, JSBuiltin::Global_escape)]
static String^ escape(
	Object^ string
)

Parameters

string
Type: System::Object^

The string to convert.

Return Value

Type: System::String^

A new copy of string in which the reserved characters are escaped by the % character and expressed in Unicode.

.NET Framework
Available since 1.1
Return to top
Show: