語言

RestrictionEntry.TypeChoice 欄位

定義

警告

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

類型「選擇」的限制。

[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

實作

屬性

備註

類型「選擇」的限制。 用此方式儲存字串值,通常以單選清單呈現。 呼叫 #setChoiceEntries(String[]) 和 #setChoiceValues(String[]) 分別設定本地化清單條目以呈現給使用者及相應值。

Java 文件 android.content.RestrictionEntry.TYPE_CHOICE。

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

適用於