Click or drag to resize
MimeKit

HtmlTagToken(String, IEnumerableHtmlAttribute, Boolean) Constructor

Initialize a new instance of the HtmlTagToken class.

Namespace: MimeKit.Text
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public HtmlTagToken(
	string name,
	IEnumerable<HtmlAttribute> attributes,
	bool isEmptyElement
)

Parameters

name  String
The name of the tag.
attributes  IEnumerableHtmlAttribute
The attributes.
isEmptyElement  Boolean
true if the tag is an empty element; otherwise, false.
Exceptions
ExceptionCondition
ArgumentNullException

name is null.

-or-

attributes is null.

Remarks
Creates a new HtmlTagToken.
See Also