Compartir a través de


IDocument.CreateComment(String) Method

Definition

Creates a Comment node given the specified string.

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

Parameters

data
String

The data for the node.

Returns

The new Comment object.

Attributes

Remarks

Creates a Comment node given the specified string.

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