Share via


INode.GetUserData(String) Method

Definition

Retrieves the object associated to a key on a this node.

[Android.Runtime.Register("getUserData", "(Ljava/lang/String;)Ljava/lang/Object;", "GetGetUserData_Ljava_lang_String_Handler:Org.W3c.Dom.INodeInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Object? GetUserData (string? key);
[<Android.Runtime.Register("getUserData", "(Ljava/lang/String;)Ljava/lang/Object;", "GetGetUserData_Ljava_lang_String_Handler:Org.W3c.Dom.INodeInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetUserData : string -> Java.Lang.Object

Parameters

key
String

The key the object is associated to.

Returns

Returns the DOMUserData associated to the given key on this node, or null if there was none.

Attributes

Remarks

Retrieves the object associated to a key on a this node. The object must first have been set to this node by calling setUserData with the same key.

Added in DOM Level 3.

Java documentation for org.w3c.dom.Node.getUserData(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