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

Syntax

[Android.Runtime.Register("putFloat", "(Ljava/lang/String;F)V", "GetPutFloat_Ljava_lang_String_FHandler")]
public override void PutFloat (string key, float 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 float 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.Float.ToString(float).

[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