Android.Preferences.Preference.PersistString Method
Attempts to persist a String to the Android.Content.ISharedPreferences.

Syntax

[Android.Runtime.Register("persistString", "(Ljava/lang/String;)Z", "GetPersistString_Ljava_lang_String_Handler")]
protected virtual bool PersistString (string value)

See Also

Preference.GetPersistedString(string)

Parameters

value
The value to persist.

Returns

Documentation for this section has not yet been entered.

Remarks

Attempts to persist a String to the Android.Content.ISharedPreferences.

This will check if this Preference is persistent, get an editor from the Android.Preferences.PreferenceManager, put in the string, and check if we should commit (and commit if so).

[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