Dataset.Builder.SetField 方法

定义

重载

SetField(AutofillId, Field)
SetField(String, Field)

SetField(AutofillId, Field)

[Android.Runtime.Register("setField", "(Landroid/view/autofill/AutofillId;Landroid/service/autofill/Field;)Landroid/service/autofill/Dataset$Builder;", "", ApiSince=33)]
public Android.Service.Autofill.Dataset.Builder SetField (Android.Views.Autofill.AutofillId id, Android.Service.Autofill.Field? field);
[<Android.Runtime.Register("setField", "(Landroid/view/autofill/AutofillId;Landroid/service/autofill/Field;)Landroid/service/autofill/Dataset$Builder;", "", ApiSince=33)>]
member this.SetField : Android.Views.Autofill.AutofillId * Android.Service.Autofill.Field -> Android.Service.Autofill.Dataset.Builder

参数

field
Field

返回

属性

适用于

SetField(String, Field)

[Android.Runtime.Register("setField", "(Ljava/lang/String;Landroid/service/autofill/Field;)Landroid/service/autofill/Dataset$Builder;", "", ApiSince=34)]
public Android.Service.Autofill.Dataset.Builder SetField (string hint, Android.Service.Autofill.Field field);
[<Android.Runtime.Register("setField", "(Ljava/lang/String;Landroid/service/autofill/Field;)Landroid/service/autofill/Dataset$Builder;", "", ApiSince=34)>]
member this.SetField : string * Android.Service.Autofill.Field -> Android.Service.Autofill.Dataset.Builder

参数

hint
String
field
Field

返回

属性

适用于