Condividi tramite


Html.EscapeHtml Method

Definition

Overloads

EscapeHtml(ICharSequence)

Returns an HTML escaped representation of the given plain text.

EscapeHtml(String)

Returns an HTML escaped representation of the given plain text.

EscapeHtml(ICharSequence)

Returns an HTML escaped representation of the given plain text.

[Android.Runtime.Register("escapeHtml", "(Ljava/lang/CharSequence;)Ljava/lang/String;", "")]
public static string? EscapeHtml (Java.Lang.ICharSequence? text);
[<Android.Runtime.Register("escapeHtml", "(Ljava/lang/CharSequence;)Ljava/lang/String;", "")>]
static member EscapeHtml : Java.Lang.ICharSequence -> string

Parameters

Returns

Attributes

Remarks

Returns an HTML escaped representation of the given plain text.

Java documentation for android.text.Html.escapeHtml(java.lang.CharSequence).

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

EscapeHtml(String)

Returns an HTML escaped representation of the given plain text.

public static string? EscapeHtml (string? text);
static member EscapeHtml : string -> string

Parameters

text
String

Returns

Remarks

Returns an HTML escaped representation of the given plain text.

Java documentation for android.text.Html.escapeHtml(java.lang.CharSequence).

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