Html Tag Token Class
An HTML tag token.
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 class HtmlTagToken : HtmlTokenRemarks
An HTML tag token.
Constructors
| HtmlTagToken(String, Boolean) | Initialize a new instance of the HtmlTagToken class. |
| HtmlTagToken(String, IEnumerableHtmlAttribute, Boolean) | Initialize a new instance of the HtmlTagToken class. |
Properties
| Attributes | Get the attributes. |
| Id | Get the HTML tag identifier. |
| IsEmptyElement | Get whether the tag is an empty element. |
| IsEndTag | Get whether the tag is an end tag. |
| Kind |
Get the kind of HTML token that this object represents.
(Inherited from HtmlToken) |
| Name | Get the name of the tag. |
Methods
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString |
Return a String that represents the current HtmlToken.
(Inherited from HtmlToken) |
| WriteTo |
Write the HTML tag to a TextWriter.
(Overrides HtmlTokenWriteTo(TextWriter)) |