Compartilhar via


IPreferencesFactory.UserRoot Method

Definition

Returns the user root preference node corresponding to the calling user.

[Android.Runtime.Register("userRoot", "()Ljava/util/prefs/Preferences;", "GetUserRootHandler:Java.Util.Prefs.IPreferencesFactoryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Util.Prefs.Preferences? UserRoot ();
[<Android.Runtime.Register("userRoot", "()Ljava/util/prefs/Preferences;", "GetUserRootHandler:Java.Util.Prefs.IPreferencesFactoryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UserRoot : unit -> Java.Util.Prefs.Preferences

Returns

the user root preference node corresponding to the calling user

Attributes

Remarks

Returns the user root preference node corresponding to the calling user. In a server, the returned value will typically depend on some implicit client-context.

Java documentation for java.util.prefs.PreferencesFactory.userRoot().

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