Java.Util.Prefs.AbstractPreferences.PutLong Method
Adds a new preference to this node using the given key and long value or updates the value if a preference with the given key already exists.

Syntax

[Android.Runtime.Register("putLong", "(Ljava/lang/String;J)V", "GetPutLong_Ljava_lang_String_JHandler")]
public override void PutLong (string key, long value)

Parameters

key
the preference key to be added or updated.
value
the preference value for the given key.

Remarks

Adds a new preference to this node using the given key and long value or updates the value if a preference with the given key already exists.

The value is stored in its string form, which is the result of invoking Java.Lang.Long.ToString(long).

[Android Documentation]

Requirements

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