다음을 통해 공유


TextUtils.HtmlEncode(String) Method

Definition

Html-encode the string.

[Android.Runtime.Register("htmlEncode", "(Ljava/lang/String;)Ljava/lang/String;", "")]
public static string? HtmlEncode (string? s);
[<Android.Runtime.Register("htmlEncode", "(Ljava/lang/String;)Ljava/lang/String;", "")>]
static member HtmlEncode : string -> string

Parameters

s
String

the string to be encoded

Returns

the encoded string

Attributes

Remarks

Html-encode the string.

Java documentation for android.text.TextUtils.htmlEncode(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to