Android.Widget.SearchView.SetQuery Method
Sets a query string in the text field and optionally submits the query as well.

Syntax

[Android.Runtime.Register("setQuery", "(Ljava/lang/CharSequence;Z)V", "GetSetQuery_Ljava_lang_CharSequence_ZHandler")]
public virtual void SetQuery (Java.Lang.ICharSequence query, bool submit)

Parameters

query
the query string. This replaces any query text already present in the text field.
submit
whether to submit the query right now or only update the contents of text field.

Remarks

Sets a query string in the text field and optionally submits the query as well.

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11