IDocument.CreateComment(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a <code>Comment</code> 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 <code>Comment</code> object.
- Attributes
Remarks
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.