Condividi tramite


AbstractPreferences.Parent Method

Definition

Implements the parent method as per the specification in Preferences#parent().

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

Returns

the parent of this preference node.

Attributes

Remarks

Implements the parent method as per the specification in Preferences#parent().

This implementation obtains this preference node's lock, checks that the node has not been removed and returns the parent value that was passed to this node's constructor.

Java documentation for java.util.prefs.AbstractPreferences.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