다음을 통해 공유


RestrictionEntry.SelectedString Property

Definition

Returns the currently selected string value. -or- Sets the string value to use as the selected value for this restriction.

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

Property Value

the currently selected value, which can be null for types that aren't for holding single string values.

Attributes

Remarks

Property getter documentation:

Returns the currently selected string value.

Java documentation for android.content.RestrictionEntry.getSelectedString().

Property setter documentation:

Sets the string value to use as the selected value for this restriction. This value will be persisted by the system for later use by the application.

Java documentation for android.content.RestrictionEntry.setSelectedString(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to