Java.Util.Prefs.AbstractPreferences.NodeExists Method
Returns whether the preference node with the given path name exists.

Syntax

[Android.Runtime.Register("nodeExists", "(Ljava/lang/String;)Z", "GetNodeExists_Ljava_lang_String_Handler")]
public override bool NodeExists (string name)

Parameters

name
the path name of the preference node to query.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Util.Prefs.BackingStoreException

Remarks

Returns whether the preference node with the given path name exists. The path is treated as relative to this node if it doesn't start with a slash, otherwise it is treated as an absolute path.

Please note that if this node has been removed, an invocation of this node will throw an IllegalStateException unless the given path is an empty string, which will return false.

[Android Documentation]

Requirements

Namespace: Java.Util.Prefs
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1