語言

RestrictionEntry.SelectedString 屬性

定義

回傳目前選取的字串值。 -或- 將字串值設定為此限制所選值。

public virtual string? SelectedString { [Android.Runtime.Register("getSelectedString", "()Ljava/lang/String;", "GetGetSelectedStringHandler")] get; [Android.Runtime.Register("setSelectedString", "(Ljava/lang/String;)V", "GetSetSelectedString_Ljava_lang_String_Handler")] set; }
[<get: Android.Runtime.Register("getSelectedString", "()Ljava/lang/String;", "GetGetSelectedStringHandler")>]
[<set: Android.Runtime.Register("setSelectedString", "(Ljava/lang/String;)V", "GetSetSelectedString_Ljava_lang_String_Handler")>]
member this.SelectedString : string with get, set

屬性值

目前選取的值,對於不用於儲存單一字串值的類型,可以是 null。

屬性

備註

財產取得者文件:

回傳目前選取的字串值。

Java 文件 android.content.RestrictionEntry.getSelectedString()

屬性設定文件:

設定字串值作為此限制的選取值。 此值會被系統持續保存,供應用程式日後使用。

Java 文件 android.content.RestrictionEntry.setSelectedString(java.lang.String)

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

適用於