Partager via


DatabaseUtils.SqlEscapeString(String) Method

Definition

SQL-escape a string.

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

Parameters

value
String

Returns

Attributes

Remarks

SQL-escape a string.

Java documentation for android.database.DatabaseUtils.sqlEscapeString(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