Html Doc Type Token Class
An HTML DOCTYPE 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 HtmlDocTypeToken : HtmlTokenRemarks
An HTML DOCTYPE token.
Constructors
| HtmlDocTypeToken | Initialize a new instance of the HtmlDocTypeToken class. |
Properties
| ForceQuirksMode | Get whether quirks-mode should be forced. |
| Kind |
Get the kind of HTML token that this object represents.
(Inherited from HtmlToken) |
| Name | Get or set the DOCTYPE name. |
| PublicIdentifier | Get or set the public identifier. |
| PublicKeyword | Get the public keyword that was used. |
| SystemIdentifier | Get or set the system identifier. |
| SystemKeyword | Get the system keyword that was used. |
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 DOCTYPE tag to a TextWriter.
(Overrides HtmlTokenWriteTo(TextWriter)) |