语言

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)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

另请参阅