Android.Preferences.Preference.Key Property
Gets the key for this Preference, which is also the key used for storing values into SharedPreferences.

Syntax

[get: Android.Runtime.Register("getKey", "()Ljava/lang/String;", "GetGetKeyHandler")]
[set: Android.Runtime.Register("setKey", "(Ljava/lang/String;)V", "GetSetKey_Ljava_lang_String_Handler")]
public virtual string Key { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Get method documentation [Android Documentation]

Gets the key for this Preference, which is also the key used for storing values into SharedPreferences.

Set method documentation [Android Documentation]

Sets the key for this Preference, which is used as a key to the Android.Content.ISharedPreferences. This should be unique for the package.

Requirements

Namespace: Android.Preferences
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1