语言

RestrictionEntry.TypeMultiSelect 字段

定义

注意

This constant will be removed in the future version. Use Android.Content.RestrictionEntryType enum directly instead of this field.

“多选”类型的限制。

[Android.Runtime.Register("TYPE_MULTI_SELECT")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.RestrictionEntryType enum directly instead of this field.", true)]
public const Android.Content.RestrictionEntryType TypeMultiSelect = 4;
[<Android.Runtime.Register("TYPE_MULTI_SELECT")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.RestrictionEntryType enum directly instead of this field.", true)>]
val mutable TypeMultiSelect : Android.Content.RestrictionEntryType

字段值

Value = 4

实现

特性

注解

“多选”类型的限制。 用于演示多选列表,其中可以选择多个条目,例如选择要允许列表的特定标题。 调用 #setChoiceEntries(String[]) 并 #setChoiceValues(String[]) 设置要分别呈现给用户和相应值的本地化列表条目。 使用 #getAllSelectedStrings() 和 #setAllSelectedStrings(String[]) 操作选择。

Java文档android.content.RestrictionEntry.TYPE_MULTI_SELECT。

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

适用于