GlobalObject.encodeURIComponent(Object) Метод

Определение

Кодирует указанный универсальный идентификатор ресурса (URI).

Этот API поддерживает инфраструктуру продукта и не предназначен для использования непосредственно из программного кода.

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

Параметры

uriComponent
Object

Универсальный код ресурса (URI) для кодирования.

Возвращаемое значение

Закодированная версия uriComponent.

Атрибуты

Применяется к