A Sandcastle Documented Class Library |
HtmlDocument..::..CreateComment Method (String) |
HtmlDocument Class See Also Send Feedback |
Creates an HTML comment node with the specified comment text.
Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
C# |
---|
public HtmlCommentNode CreateComment( string comment ) |
Visual Basic |
---|
Public Function CreateComment ( _ comment As String _ ) As HtmlCommentNode |
Visual C++ |
---|
public: HtmlCommentNode^ CreateComment( String^ comment ) |
Parameters
- comment
- Type: System..::..String
The comment text. May not be null.