Udostępnij za pośrednictwem


ISharedPreferencesEditor.Clear Method

Definition

Mark in the editor to remove all values from the preferences.

[Android.Runtime.Register("clear", "()Landroid/content/SharedPreferences$Editor;", "GetClearHandler:Android.Content.ISharedPreferencesEditorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Android.Content.ISharedPreferencesEditor? Clear ();
[<Android.Runtime.Register("clear", "()Landroid/content/SharedPreferences$Editor;", "GetClearHandler:Android.Content.ISharedPreferencesEditorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Clear : unit -> Android.Content.ISharedPreferencesEditor

Returns

Attributes

Remarks

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