RestrictionEntry.TypeChoice 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This constant will be removed in the future version. Use Android.Content.RestrictionEntryType enum directly instead of this field.
类型为“choice”的限制。
[Android.Runtime.Register("TYPE_CHOICE")]
[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 TypeChoice = 2;
[<Android.Runtime.Register("TYPE_CHOICE")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.RestrictionEntryType enum directly instead of this field.", true)>]
val mutable TypeChoice : Android.Content.RestrictionEntryType
字段值
Value = 2实现
- 特性
注解
类型为“choice”的限制。 使用它来存储字符串值,通常显示为单选列表。 调用 #setChoiceEntries(String[]) 并 #setChoiceValues(String[]) 设置要分别呈现给用户和相应值的本地化列表条目。
Java文档android.content.RestrictionEntry.TYPE_CHOICE。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。