Share via


Preferences.Parent Method

Definition

Returns the parent of this preference node, or null if this is the root.

[Android.Runtime.Register("parent", "()Ljava/util/prefs/Preferences;", "GetParentHandler")]
public abstract Java.Util.Prefs.Preferences? Parent ();
[<Android.Runtime.Register("parent", "()Ljava/util/prefs/Preferences;", "GetParentHandler")>]
abstract member Parent : unit -> Java.Util.Prefs.Preferences

Returns

the parent of this preference node.

Attributes

Exceptions

if this node has been removed.

Remarks

Returns the parent of this preference node, or null if this is the root.

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

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