Android.Content.ISharedPreferencesEditor.PutInt Method
Set an int value in the preferences editor, to be written back once ISharedPreferencesEditor.Commit or ISharedPreferencesEditor.Apply are called.

Syntax

[Android.Runtime.Register("putInt", "(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;", "GetPutInt_Ljava_lang_String_IHandler:Android.Content.ISharedPreferencesEditorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public ISharedPreferencesEditor PutInt (string key, int 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 an int 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