ContentProviderOperation.Builder.WithSelection(String, String[]) Method

Definition

The selection and arguments to use.

[Android.Runtime.Register("withSelection", "(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/ContentProviderOperation$Builder;", "GetWithSelection_Ljava_lang_String_arrayLjava_lang_String_Handler")]
public virtual Android.Content.ContentProviderOperation.Builder WithSelection(string? selection, string[]? selectionArgs);
[<Android.Runtime.Register("withSelection", "(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/ContentProviderOperation$Builder;", "GetWithSelection_Ljava_lang_String_arrayLjava_lang_String_Handler")>]
abstract member WithSelection : string * string[] -> Android.Content.ContentProviderOperation.Builder
override this.WithSelection : string * string[] -> Android.Content.ContentProviderOperation.Builder

Parameters

selection
String

The SQL selection clause.

selectionArgs
String[]

The values that replace placeholders in the selection clause.

Returns

This value cannot be null .

Attributes

Remarks

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.

Java documentation for android.content.ContentProviderOperation.Builder.withSelection(java.lang.String, java.lang.String[]).

Applies to