Share via


Preferences.ToString Method

Definition

Returns a string representation of this preferences node, as if computed by the expression:(this.isUserNode() ? "User" : "System") + " Preference Node: " + this.absolutePath().

[Android.Runtime.Register("toString", "()Ljava/lang/String;", "GetToStringHandler")]
public abstract string? ToString ();
[<Android.Runtime.Register("toString", "()Ljava/lang/String;", "GetToStringHandler")>]
override this.ToString : unit -> string

Returns

Attributes

Remarks

Returns a string representation of this preferences node, as if computed by the expression:(this.isUserNode() ? "User" : "System") + " Preference Node: " + this.absolutePath().

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

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