Język

DatabaseUtils.AppendSelectionArgs(String[], String[]) Method

Definition

Appends one set of selection args to another.

[Android.Runtime.Register("appendSelectionArgs", "([Ljava/lang/String;[Ljava/lang/String;)[Ljava/lang/String;", "")]
public static string[]? AppendSelectionArgs(string[]? originalValues, string[]? newValues);
[<Android.Runtime.Register("appendSelectionArgs", "([Ljava/lang/String;[Ljava/lang/String;)[Ljava/lang/String;", "")>]
static member AppendSelectionArgs : string[] * string[] -> string[]

Parameters

originalValues
String[]

The existing selection arguments, or null if there are none.

newValues
String[]

The arguments to append. Must not be null when originalValues is nonempty.

Returns

String[]

The original arguments followed by the new arguments. If originalValues is null or empty, returns newValues without making a Java array copy.

Attributes

Remarks

Appends one set of selection args to another. This is useful when adding a selection argument to a user provided set.

Java documentation for android.database.DatabaseUtils.appendSelectionArgs(java.lang.String[], 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