다음을 통해 공유


AbstractPreferences.NodeExists(String) Method

Definition

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

[Android.Runtime.Register("nodeExists", "(Ljava/lang/String;)Z", "GetNodeExists_Ljava_lang_String_Handler")]
public override bool NodeExists (string? path);
[<Android.Runtime.Register("nodeExists", "(Ljava/lang/String;)Z", "GetNodeExists_Ljava_lang_String_Handler")>]
override this.NodeExists : string -> bool

Parameters

path
String

the path name of the node whose existence is to be checked.

Returns

true if the specified node exists.

Attributes

Exceptions

Remarks

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

This implementation is very similar to #node(String), except that #getChild(String) is used instead of #childSpi(String).

Java documentation for java.util.prefs.AbstractPreferences.nodeExists(java.lang.String).

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