語言

SearchView.SetInputType(InputTypes) 方法

定義

在查詢文字欄位設定輸入型別。

[Android.Runtime.Register("setInputType", "(I)V", "GetSetInputType_IHandler")]
public virtual void SetInputType(Android.Text.InputTypes inputType);
[<Android.Runtime.Register("setInputType", "(I)V", "GetSetInputType_IHandler")>]
abstract member SetInputType : Android.Text.InputTypes -> unit
override this.SetInputType : Android.Text.InputTypes -> unit

參數

inputType
InputTypes

輸入型別在查詢文字欄位上設定

屬性

備註

在查詢文字欄位設定輸入型別。

Java 文件 android.widget.SearchView.setInputType(int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

另請參閱