次の方法で共有


ISharedPreferences.Edit メソッド

定義

これらの環境設定用の新しいエディターを作成します。これにより、環境設定のデータを変更し、それらの変更を SharedPreferences オブジェクトにアトミックにコミットできます。

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

戻り値

この SharedPreferences オブジェクトの Editor 値を変更できるように、インターフェイスの新しいインスタンスを返します。

属性

注釈

の Java ドキュメントandroid.content.SharedPreferences.edit()

このページの一部は、Android オープンソース プロジェクトによって作成および共有され、クリエイティブ コモンズ 2.5 属性ライセンスに記載されている条件に従って使用される作業に基づく変更です。

適用対象