Android.Net.Uri.Encode Method
Encodes characters in the given string as '%'-escaped octets using the UTF-8 scheme.

Syntax

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

Parameters

s
string to encode
allow
set of additional characters to allow in the encoded form, null if no characters should be skipped

Returns

Documentation for this section has not yet been entered.

Remarks

Encodes characters in the given string as '%'-escaped octets using the UTF-8 scheme. Leaves letters ("A-Z", "a-z"), numbers ("0-9"), and unreserved characters ("_-!.~'()*") intact. Encodes all other characters with the exception of those specified in the allow argument.

[Android Documentation]

Requirements

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