Partager via


IDocument.CreateTextNode(String) Method

Definition

Creates a Text node given the specified string.

[Android.Runtime.Register("createTextNode", "(Ljava/lang/String;)Lorg/w3c/dom/Text;", "GetCreateTextNode_Ljava_lang_String_Handler:Org.W3c.Dom.IDocumentInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.W3c.Dom.IText? CreateTextNode (string? data);
[<Android.Runtime.Register("createTextNode", "(Ljava/lang/String;)Lorg/w3c/dom/Text;", "GetCreateTextNode_Ljava_lang_String_Handler:Org.W3c.Dom.IDocumentInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member CreateTextNode : string -> Org.W3c.Dom.IText

Parameters

data
String

The data for the node.

Returns

The new Text object.

Attributes

Remarks

Creates a Text node given the specified string.

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