Android.Preferences.Preference.GetPersistedInt Method
Attempts to get a persisted int from the Android.Content.ISharedPreferences.

Syntax

[Android.Runtime.Register("getPersistedInt", "(I)I", "GetGetPersistedInt_IHandler")]
protected virtual int GetPersistedInt (int defaultReturnValue)

See Also

Preference.GetPersistedString(string)
Preference.PersistInt(int)

Parameters

defaultReturnValue
The default value to return if either this Preference is not persistent or this Preference is not in the SharedPreferences.

Returns

Documentation for this section has not yet been entered.

Remarks

Attempts to get a persisted int from the Android.Content.ISharedPreferences.

[Android Documentation]

Requirements

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