Share via


ListPreference.Value Property

Definition

Returns the value of the key. -or- Sets the value of the key.

public virtual string? Value { [Android.Runtime.Register("getValue", "()Ljava/lang/String;", "GetGetValueHandler")] get; [Android.Runtime.Register("setValue", "(Ljava/lang/String;)V", "GetSetValue_Ljava_lang_String_Handler")] set; }
[<get: Android.Runtime.Register("getValue", "()Ljava/lang/String;", "GetGetValueHandler")>]
[<set: Android.Runtime.Register("setValue", "(Ljava/lang/String;)V", "GetSetValue_Ljava_lang_String_Handler")>]
member this.Value : string with get, set

Property Value

The value of the key.

Attributes

Remarks

Property getter documentation:

Returns the value of the key. This should be one of the entries in #getEntryValues().

Java documentation for android.preference.ListPreference.getValue().

Property setter documentation:

Sets the value of the key. This should be one of the entries in #getEntryValues().

Java documentation for android.preference.ListPreference.setValue(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