Java.Net.URLEncoder.Encode Method
Encodes s using the Java.Nio.Charset.Charset named by charsetName.

Syntax

[Android.Runtime.Register("encode", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "")]
public static string Encode (string s, string enc)

Parameters

s
Documentation for this section has not yet been entered.
charsetName
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.UnsupportedEncodingException

Remarks

Encodes s using the Java.Nio.Charset.Charset named by charsetName.

[Android Documentation]

Requirements

Namespace: Java.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1