sealed class Tinman.Core.Xml.XmlComment

Derived from

XmlNodeWithParent abstract

Represents an XML comment:

<!-- -->
<!-- Well-formed XML comment -->
<!-- Non well--formed XML comment -->
<!-- Non well--formed XML comment -->

Public / Constructors


public constructor XmlComment → (1)

text in : string

See Text. Starting at the first occurrence of '-->', all remaining characters will be ignored.

Creates a new instance of XmlComment.

Public / Attributes


public attribute Text → (get)

value : string

The comment text.

Returns the comment text.

The comment text never contains the '-->' token. It may contain consecutive '-' characters, although this will not be well-formed XML.