Html Writer State Enumeration
An enumeration of possible states of a HtmlWriter.
Definition
Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public enum HtmlWriterStateRemarks
An enumeration of possible states of a HtmlWriter.
Members
| Default | 0 | The HtmlWriter is not within a tag. In this state, the HtmlWriter can only write a tag or text. |
| Tag | 1 | The HtmlWriter is inside a tag but has not started to write an attribute. In this state, the HtmlWriter can write an attribute, another tag, or text. |
| Attribute | 2 | The HtmlWriter is inside an attribute. In this state, the HtmlWriter can append a value to the current attribute, start the next attribute, or write another tag or text. |