AbstractPreferences.KeysSpi 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.
Returns all of the keys that have an associated value in this preference node.
[Android.Runtime.Register("keysSpi", "()[Ljava/lang/String;", "GetKeysSpiHandler")]
protected abstract string[]? KeysSpi ();
[<Android.Runtime.Register("keysSpi", "()[Ljava/lang/String;", "GetKeysSpiHandler")>]
abstract member KeysSpi : unit -> string[]
Returns
an array of the keys that have an associated value in this preference node.
- Attributes
Exceptions
if the backing store is unavailable or causes an operation failure.
Remarks
Returns all of the keys that have an associated value in this preference node. (The returned array will be of size zero if this node has no preferences.) It is guaranteed that this node has not been removed.
This method is invoked with the lock on this node held.
If this node throws a BackingStoreException
, the exception will propagate out beyond the enclosing #keys()
invocation.
Java documentation for java.util.prefs.AbstractPreferences.keysSpi()
.
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.