Document.CreateComment

Document.CreateComment method

Creates a Comment node given the specified string.

public Comment CreateComment(string data)
ParameterTypeDescription
dataStringThe comment content.

Return Value

The Comment.

Examples

var comment = document.CreateComment(data);

See Also