Preference.PersistStringSet(ICollection<String>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attempts to persist a set of Strings if this Preference is persistent.
[Android.Runtime.Register("persistStringSet", "(Ljava/util/Set;)Z", "GetPersistStringSet_Ljava_util_Set_Handler", ApiSince=24)]
public virtual bool PersistStringSet (System.Collections.Generic.ICollection<string>? values);
[<Android.Runtime.Register("persistStringSet", "(Ljava/util/Set;)Z", "GetPersistStringSet_Ljava_util_Set_Handler", ApiSince=24)>]
abstract member PersistStringSet : System.Collections.Generic.ICollection<string> -> bool
override this.PersistStringSet : System.Collections.Generic.ICollection<string> -> bool
Parameters
- values
- ICollection<String>
The values to persist.
Returns
True if this Preference is persistent. (This is not whether the value was persisted, since we may not necessarily commit if there will be a batch commit later.)
- Attributes
Remarks
Attempts to persist a set of Strings if this Preference is persistent.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.