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
- namespace Aspose.Html.Dom
- assembly Aspose.HTML