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