Document.CreateComment
Document.CreateComment method
Creates a Comment
node given the specified String.
public Comment CreateComment(String data)
Parameter | Type | Description |
---|---|---|
data | String | The comment content. |
Return Value
The Comment
.
Examples
var comment = document.CreateComment(data);
See Also
- class Comment
- class Document
- package com.aspose.html.Dom
- package Aspose.HTML