Android.Preferences.Preference.ShouldPersist Method
Checks whether, at the given time this method is called, this Preference should store/restore its value(s) into the Android.Content.ISharedPreferences.

Syntax

[Android.Runtime.Register("shouldPersist", "()Z", "GetShouldPersistHandler")]
protected virtual bool ShouldPersist ()

Returns

Documentation for this section has not yet been entered.

Remarks

Checks whether, at the given time this method is called, this Preference should store/restore its value(s) into the Android.Content.ISharedPreferences. This, at minimum, checks whether this Preference is persistent and it currently has a key. Before you save/restore from the Android.Content.ISharedPreferences, check this first.

[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