HtmlForgeX

API Reference

Class

HtmlComment

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Modifiers sealed

Represents a validated HTML comment marker.

Inheritance

Constructors

public HtmlComment(String text) #

Creates a comment from plain text.

Parameters

text System.String requiredposition: 0

Exceptions

  • ArgumentException – The value is not valid inside an HTML comment.

Methods

public override String ToString() #
Returns: String