Share via


AbstractPreferences.IsUserNode Property

Definition

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

public override bool IsUserNode { [Android.Runtime.Register("isUserNode", "()Z", "GetIsUserNodeHandler")] get; }
[<get: Android.Runtime.Register("isUserNode", "()Z", "GetIsUserNodeHandler")>]
member this.IsUserNode : bool

Property Value

true if this preference node is in the user preference tree, false if it's in the system preference tree.

Attributes

Remarks

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

This implementation compares this node's root node (which is stored in a private field) with the value returned by Preferences#userRoot(). If the two object references are identical, this method returns true.

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

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