Compartir a través de


Preference.Editor Property

Definition

Returns an SharedPreferences.Editor where this Preference can save its value(s).

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

Property Value

a SharedPreferences.Editor where this preference saves its value(s). If this preference isn't attached to a Preference hierarchy or if a PreferenceDataStore has been set, this method returns null.

Attributes

Remarks

Java documentation for android.preference.Preference.getEditor().

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

See also