Android.Preferences.Preference.Editor Property
Returns an Android.Content.ISharedPreferencesEditor where this Preference can save its value(s).

Syntax

[get: Android.Runtime.Register("getEditor", "()Landroid/content/SharedPreferences$Editor;", "GetGetEditorHandler")]
public virtual Android.Content.ISharedPreferencesEditor Editor { get; }

See Also

Preference.ShouldCommit
Preference.SharedPreferences

Value

Documentation for this section has not yet been entered.

Remarks

Returns an Android.Content.ISharedPreferencesEditor where this Preference can save its value(s). Usually it's easier to use one of the helper save methods: Preference.PersistBoolean(bool), Preference.PersistFloat(float), Preference.PersistInt(int), Preference.PersistLong(long), Preference.PersistString(string). To read values, see Preference.SharedPreferences. If Preference.ShouldCommit returns true, it is this Preference's responsibility to commit.

In some cases, writes to this will not be committed right away and hence not show up in the SharedPreferences, this is intended behavior to improve performance.

[Android Documentation]

Requirements

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