IFilterQueryProvider.RunQuery(ICharSequence) Method

Definition

Runs a query with the specified constraint.

[Android.Runtime.Register("runQuery", "(Ljava/lang/CharSequence;)Landroid/database/Cursor;", "GetRunQuery_Ljava_lang_CharSequence_Handler:Android.Widget.IFilterQueryProviderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Android.Database.ICursor? RunQuery (Java.Lang.ICharSequence? constraint);
[<Android.Runtime.Register("runQuery", "(Ljava/lang/CharSequence;)Landroid/database/Cursor;", "GetRunQuery_Ljava_lang_CharSequence_Handler:Android.Widget.IFilterQueryProviderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member RunQuery : Java.Lang.ICharSequence -> Android.Database.ICursor

Parameters

constraint
ICharSequence

the constraint with which the query must be filtered

Returns

a Cursor representing the results of the new query

Attributes

Remarks

Runs a query with the specified constraint. This query is requested by the filter attached to this adapter.

Contract: when constraint is null or empty, the original results, prior to any filtering, must be returned.

Java documentation for android.widget.FilterQueryProvider.runQuery(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