XmlComment

Description

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

Xml​Comment


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

Text


[Constant]
public attribute Text → (get)

value : string

[not-null]
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.