Click or drag to resize
MimeKit

HtmlAttribute(HtmlAttributeId, String) Constructor

Initialize a new instance of the HtmlAttribute class.

Namespace: MimeKit.Text
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public HtmlAttribute(
	HtmlAttributeId id,
	string value
)

Parameters

id  HtmlAttributeId
The attribute identifier.
value  String
The attribute value.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionid is not a valid value.
Remarks
Creates a new HTML attribute with the given id and value.
See Also