Поделиться через


ISharedPreferencesEditor.PutLong(String, Int64) Метод

Определение

Задайте длинное значение в редакторе параметров, записываемое обратно или Commit() Apply() вызываемое.

[Android.Runtime.Register("putLong", "(Ljava/lang/String;J)Landroid/content/SharedPreferences$Editor;", "GetPutLong_Ljava_lang_String_JHandler:Android.Content.ISharedPreferencesEditorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Android.Content.ISharedPreferencesEditor? PutLong (string? key, long value);
[<Android.Runtime.Register("putLong", "(Ljava/lang/String;J)Landroid/content/SharedPreferences$Editor;", "GetPutLong_Ljava_lang_String_JHandler:Android.Content.ISharedPreferencesEditorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member PutLong : string * int64 -> Android.Content.ISharedPreferencesEditor

Параметры

key
String

Имя изменения предпочтения.

value
Int64

Новое значение для предпочтения.

Возвращаемое значение

Атрибуты

Комментарии

Части этой страницы — это изменения на основе работы, созданной и общей проектом с открытым исходным кодом Android и используемой в соответствии с условиями, описанными в лицензии Creative Commons 2.5 Attribution.

Применяется к