Share via


Preferences.ChildrenNames Method

Definition

Returns the names of the children of this preference node, relative to this node.

[Android.Runtime.Register("childrenNames", "()[Ljava/lang/String;", "GetChildrenNamesHandler")]
public abstract string[]? ChildrenNames ();
[<Android.Runtime.Register("childrenNames", "()[Ljava/lang/String;", "GetChildrenNamesHandler")>]
abstract member ChildrenNames : unit -> string[]

Returns

String[]

the names of the children of this preference node.

Attributes

Exceptions

if backing store is unavailable or causes an operation failure.

if this node has been removed.

Remarks

Returns the names of the children of this preference node, relative to this node. (The returned array will be of size zero if this node has no children.)

Java documentation for java.util.prefs.Preferences.childrenNames().

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