GlobalObject.escape(Object) Methode

Definitie

Converteert de opgegeven tekenreeks om het % teken te gebruiken om gereserveerde tekens (@, *, _, +, -, ., /) te gebruiken en uit te drukken in Unicode-notatie.

Deze API ondersteunt de productinfrastructuur en is niet bedoeld om rechtstreeks vanuit de code te gebruiken.

public:
 static System::String ^ escape(System::Object ^ string);
[Microsoft.JScript.JSFunction((Microsoft.JScript.JSFunctionAttributeEnum) 0, Microsoft.JScript.JSBuiltin.Global_escape)]
[Microsoft.JScript.NotRecommended("escape")]
public static string escape(object string);
[Microsoft.JScript.NotRecommended("escape")]
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.None, Microsoft.JScript.JSBuiltin.Global_escape)]
public static string escape(object string);
[<Microsoft.JScript.JSFunction((Microsoft.JScript.JSFunctionAttributeEnum) 0, Microsoft.JScript.JSBuiltin.Global_escape)>]
[<Microsoft.JScript.NotRecommended("escape")>]
static member escape : obj -> string
[<Microsoft.JScript.NotRecommended("escape")>]
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.None, Microsoft.JScript.JSBuiltin.Global_escape)>]
static member escape : obj -> string
Public Shared Function escape (string As Object) As String

Parameters

string
Object

De tekenreeks die moet worden geconverteerd.

Retouren

Een nieuwe kopie waarin string de gereserveerde tekens worden ontsnapt door het % teken en uitgedrukt in Unicode.

Kenmerken

Van toepassing op

Zie ook