Android.Content.ISharedPreferencesEditor.PutLong Method
Set a long value in the preferences editor, to be written back once ISharedPreferencesEditor.Commit or ISharedPreferencesEditor.Apply are called.

Syntax

[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 ISharedPreferencesEditor PutLong (string key, long value)

Parameters

key
The name of the preference to modify.
value
The new value for the preference.

Returns

Documentation for this section has not yet been entered.

Remarks

Set a long value in the preferences editor, to be written back once ISharedPreferencesEditor.Commit or ISharedPreferencesEditor.Apply are called.

[Android Documentation]

Requirements

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