Condividi tramite


AbstractPreferences.ChildrenNamesSpi Method

Definition

Returns the names of the children of this preference node.

[Android.Runtime.Register("childrenNamesSpi", "()[Ljava/lang/String;", "GetChildrenNamesSpiHandler")]
protected abstract string[]? ChildrenNamesSpi ();
[<Android.Runtime.Register("childrenNamesSpi", "()[Ljava/lang/String;", "GetChildrenNamesSpiHandler")>]
abstract member ChildrenNamesSpi : unit -> string[]

Returns

String[]

an array containing the names of the children of this preference node.

Attributes

Exceptions

if the backing store is unavailable or causes an operation failure.

Remarks

Returns the names of the children of this preference node. (The returned array will be of size zero if this node has no children.) This method need not return the names of any nodes already cached, but may do so without harm.

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 #childrenNames() invocation.

Java documentation for java.util.prefs.AbstractPreferences.childrenNamesSpi().

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.

Applies to